QiscusCoreRoomDelegate
public protocol QiscusCoreRoomDelegate
Undocumented
-
new comment is comming
Declaration
Swift
func gotNewComment(comment: CommentModel)
Parameters
comment
new comment object
-
comment status change
Declaration
Swift
func didComment(comment: CommentModel, changeStatus status: CommentStatus)
Parameters
comment
new comment where status is change, you can compare from local data
status
comment status, exp: deliverd, receipt, or read. special case for read, for example we have message 1,2,3,4,5 then you got status change for message 5 it’s mean message 1-4 has been read
-
User Typing Indicator
Declaration
Swift
func onRoom(thisParticipant user: MemberModel, isTyping typing: Bool)
Parameters
user
object user or participant
typing
true if user start typing and false when finish typing. typing time avarange is 5-10s, we assume user typing is finish after that
-
User Online status
Declaration
Swift
func onChangeUser(_ user: MemberModel, onlineStatus status: Bool, whenTime time: Date)
Parameters
user
object member
status
true if user login
time
millisecond UTC