Bot releases are visible (Hide)
Published by ariefnurputranto almost 4 years ago
Changelog :
func onRoomMessageReceived(_ room: RoomModel, message: CommentModel){
}
*Note : if can't get this version, please update your cocoapods to get latest version
sudo gem install cocoapods
Published by ariefnurputranto almost 4 years ago
Changelog :
getAllChatRooms()
Published by ariefnurputranto almost 4 years ago
Changelog :
Published by ariefnurputranto about 4 years ago
Changelog :
Published by ariefnurputranto about 4 years ago
Changelog :
Published by ariefnurputranto about 4 years ago
file_type can be used when a user (client who implement chat SDK) sends extras in post_comment API , for example:
{
..
extras: { "file_type": "media"}
..
}
later on you can search in file_list API by passing the file_type: "media", then you get only media category
Published by ariefnurputranto about 4 years ago
Changelog :
Published by ariefnurputranto over 4 years ago
*** Note :
Published by ariefnurputranto over 4 years ago
*** Note : Minimum requirement using iOS 10
Published by ariefnurputranto over 4 years ago
Published by ariefnurputranto over 4 years ago
*** Note : Minimum requirement using iOS 10
Published by ariefnurputranto over 4 years ago
*** Note : Minimum requirement using iOS 10
Published by ariefnurputranto over 4 years ago
for example
QiscusCore.shared.getUserPresence(userIds: userIds, onSuccess: { (qUsers) in
//success
}) { (error) in
//error
}
Published by ariefnurputranto over 4 years ago
for example
QiscusCore.shared.getUserPresence(userIds: userIds, onSuccess: { (qUsers) in
//success
}) { (error) in
//error
}
Published by ariefnurputranto over 4 years ago
Published by ariefnurputranto over 4 years ago
Published by ariefnurputranto over 4 years ago
Published by ariefnurputranto over 4 years ago
Published by ariefnurputranto over 4 years ago
Published by ariefnurputranto over 4 years ago
**** Note :
In func getUsers metaData and searchUsername is deprecated, you can add searchUsername using emptyString. and create local var for page.
sdk sample core before
QiscusCore.shared.getUsers(searchUsername: "", page: page, limit: 20,onSuccess: { (contacts, metaDat) in
if (metaData.currentPage! >= self.page){
if metaData.currentPage! == self.page {
self.stopLoad = true
}else{
self.page += 1
}
self.loadContactsDidSucceed(contacts: contacts)
}
if contacts.count != 0 {
self.page += 1
self.loadContactsDidSucceed(contacts: contacts)
} else {
self.stopLoad = true
}
}) { (error) in
self.loadContactsDidFailed(message: error.message)
}
sdk sample core new
QiscusCore.shared.getUsers(searchUsername: "", page: page, limit: 20,onSuccess: { (contacts, metaDat) in
if contacts.count != 0 {
self.page += 1
self.loadContactsDidSucceed(contacts: contacts)
} else {
self.stopLoad = true
}
}) { (error) in
self.loadContactsDidFailed(message: error.message)
}