ChatLib class
Methods
-
callWebSocket()
→ void
-
-
disconnect()
→ void
-
-
dispose()
→ dynamic
-
-
initialize({required int userId, required String cert, required String token, required String baseUrl, required String sign, int chatId = 0, String custom = '', int maxSessionMinutes = 90000000})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resendMSg(String msg, Int64 consultId, Int64 payloadId, {Int64 replyMsgId = Int64.ZERO, MessageFormat type = MessageFormat.MSG_TEXT, WithAutoReply? withAutoReply = null})
→ void
-
重发消息
@param cMsg: Message
@param payloadId: Long
-
resetSessionTime()
→ void
-
-
sendMessage(String msg, MessageFormat type, Int64 consultId, {Int64 replyMsgId = Int64.ZERO, WithAutoReply? withAutoReply = null, Int64 payload_Id = Int64.ZERO, String fileName = '', int fileSize = 0})
→ void
-
-
sendVideoMessage(String url, String thumbnail, String hlsUri, Int64 consultId, {Int64 replyMsgId = Int64.ZERO, WithAutoReply? withAutoReply = null, Int64 payload_Id = Int64.ZERO})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited