Last active
April 10, 2017 22:38
-
-
Save madsonic/368890e2772a12c855a2deb81e4e889c to your computer and use it in GitHub Desktop.
filtering QBChatDialog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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