Skip to content

Instantly share code, notes, and snippets.

@madsonic
Last active April 10, 2017 22:38
Show Gist options
  • Save madsonic/368890e2772a12c855a2deb81e4e889c to your computer and use it in GitHub Desktop.
Save madsonic/368890e2772a12c855a2deb81e4e889c to your computer and use it in GitHub Desktop.
filtering QBChatDialog
let page = QBResponsePage(limit: 100)
let extendedRequest = ["occupant_ids": "[25976759, 26025952]"]
QBRequest.dialogs(for: page, extendedRequest: extendedRequest, successBlock: { (response: QBResponse, dialogs: [QBChatDialog]?, dialogsUsersIDs: Set<NSNumber>?, page: QBResponsePage?) -> Void in
print(dialogsUsersIDs)
}) { (errResponse: QBResponse) -> Void in
print("error")
print(errResponse)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment