types#
types#
- types
- "flooNotice" (res)
- "flooError" (res)
- "loginFail" (desc)
- "loginSuccess" (res)
- "onGroupListUpdate" (meta)
- "onGroupMemberChanged" (groupId)
- "onGroupMessage" (meta)
- "onInputStatusMessage" (res)
- "onMentionMessage" (meta)
- "onMessageCanceled" (res)
- "onMessageDeleted" (res)
- "onMessageRecalled" (res)
- "onMessageStatusChanged" (res)
- "onReceiveHistoryMsg" (res)
- "onRosterInfoUpdate" (res)
- "onRosterListUpdate" (meta)
- "onRosterApplied" (meta)
- "onRosterMessage" (meta)
- "onRosterRTCMessage" (meta)
- "onSendingMessageStatusChanged" (res)
- "onUnreadChange" (cid)
- "recentlistUpdate"
- "onGroupCreated" (meta)
- "onGroupDestoryed" (meta)
- "onGroupJoined" (meta)
- "onGroupLeaved" (meta)
- "onGroupKicked" (meta)
- "onGroupApplyAccepted" (meta)
- "onGroupApplyDeclined" (meta)
- "onGroupBaned" (meta)
- "onGroupUnbaned" (meta)
- "onRosterMessageContentAppend" (meta)
- "onGroupMessageContentAppend" (meta)
- "onRosterMessageReplace" (meta)
- "onGroupMessageReplace" (meta)
- ~RosterItem :
object - ~UserSettings :
object - ~UserProfile :
object - ~Meta :
object - ~RosterApplication :
object - ~GroupInfoAndSettings :
object - ~BriefGroupInfoAndSettings :
object - ~GroupMember :
object - ~GroupMemberBanned :
object - ~GroupUserRelationResponse :
object - ~GroupAnnouncement :
object - ~GroupInfoRequest :
object - ~GroupBannedMemberRequest :
object - ~GroupBlockedListItem :
object - ~GroupInvitation :
object - ~GroupApplication :
object - ~GroupSharedFile :
object - ~GroupSharedFileResponse :
object - ~GroupBanAllResponse :
object - ~FileUpload :
object - ~FileUploadResult :
object - ~fileUploadProgress :
function - ~ConversationItem :
object - ~UserProfile :
object - ~UserSettings :
object - ~Event :
string - ~EventCallback :
function
"flooNotice" (res)#
Floo通知
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | 結果 |
| res.category | string | 類別 |
| res.desc | string | 描述 |
Example
{category: 'loginMessage',desc: 'socket connecting...'} // 開始建連接
{category: 'loginMessage',desc: 'socket connect success...'} // 連接成功
{category: 'loginMessage',desc: 'logining socket service...'} // 開始登入
{category: 'loginMessage',desc: 'login socket failure ......'} // 登入失敗
{category: 'loginMessage',desc: 'login socket success.....'} // 登入成功
{category: 'loginMessage', desc: 'getting token...' } //取得token
{category: 'loginMessage',desc: 'token sucecc, getting roster lists..'} // 取得token成功,開始取得好友列表
{category: 'loginMessage',desc: 'get roster list failure:' + ex.message} // 取得好友列表失敗
{category: 'action', desc: 'relogin' } // 需要自動登入
{category: 'action', desc: 'relogin_manually' } // 需要手動登入
{category: 'conversation_deleted',desc: { id, source:'user_operation' }} // 會話被刪除。ID:會話ID, source: 來源
{category: 'userNotice', desc:'PASSWORD_CHANGED'} // 使用者密碼改變
{category: 'userNotice', desc:'FROZEN'} // 使用者賬戶被封禁
{category: 'userNotice', desc:'REMOVED'} // 使用者被刪除
{category: 'userNotice', desc:'KICK_BY_SAME_DEVICE'} // 當前設備被相同設備踢下線
{category: 'userNotice', desc:'KICKED_BY_OTHER_DEVICE'} // 當前設備被其它設備踢下線
{category: 'userNotice', desc:'INFO_UPDATED'} // 使用者信息改變:profile或setting
{category: 'userNotice', desc:'DEVICE_LOGIN'} // 使用者其它設備上線
{category: 'userNotice', desc:'DEVICE_LOGOUT'} // 使用者其它設備下線
{category: 'userNotice', desc:'DEVICE_ADDED'} // 新設備通知
{category: 'userNotice', desc:'DEVICE_REMOVED'} // 設備被移除的通知
{category: 'userNotice', desc:'CLUSTER_CHANGED'} // 使用者所在集群改變 需要重新登入"flooError" (res)#
Floo錯誤
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.category | string | 類別 |
| res.desc | string | 描述 |
Example
{category: 'USER_BANNED', desc:'使用者被禁言'}
{category: 'USER_FROZEN', desc:'使用者被凍結,請聯繫App管理員。'}
{category: 'APP_FROZEN', desc:'APP 被凍結,請登陸藍鶯IM控制台查看詳情。'}
{category: 'LICENSE', desc:'無效 LICENSE,請確認服務已按時付費。'}
{category: 'LICENSE', desc:'超出 LICENSE 使用者數限制,請購買更高規格服務。'}
{category: 'DNS_FAILED', desc: dnsServer } // DNS錯誤: 無法訪問"loginFail" (desc)#
登入失敗
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| desc | string | 失敗原因 |
"loginSuccess" (res)#
登入成功
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | 空物件 |
"onGroupListUpdate" (meta)#
群列表更新
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | undefined | 通知訊息內容 |
"onGroupMemberChanged" (groupId)#
群成員列表更新
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| groupId | number | 群ID |
"onGroupMessage" (meta)#
收到群訊息
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 訊息內容 |
"onInputStatusMessage" (res)#
對方正在輸入
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.ext | string | 擴展欄位 |
| res.from | string | 發送者使用者ID |
| res.to | string | 接收者使用者ID |
"onMentionMessage" (meta)#
收到群組@訊息
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 訊息內容 |
"onMessageCanceled" (res)#
訊息被取消已讀
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.uid | string | 會話ID |
| res.mid | string | 訊息ID |
"onMessageDeleted" (res)#
訊息被刪除
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.uid | string | 會話ID |
| res.mid | string | 訊息ID |
"onMessageRecalled" (res)#
訊息被撤回
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.uid | string | 會話ID |
| res.mid | string | 訊息ID |
"onMessageStatusChanged" (res)#
訊息狀態變更:撤回/刪除/已讀
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.uid | string | 會話ID |
| res.mid | string | 訊息ID |
"onReceiveHistoryMsg" (res)#
收到歷史訊息
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.next | number | 下次取歷史訊息的key |
"onRosterInfoUpdate" (res)#
好友信息變更
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| res | object | |
| res.rosterIds | Array.<number> | 好友的使用者ID列表 |
"onRosterListUpdate" (meta)#
好友列表變更
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 好友通知的訊息內容 |
"onRosterApplied" (meta)#
收到好友申請
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 好友申請的訊息內容 |
"onRosterMessage" (meta)#
收到單聊訊息
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 訊息內容 |
"onRosterRTCMessage" (meta)#
收到單聊RTC訊息
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 訊息內容 |
"onSendingMessageStatusChanged" (res)#
訊息發送狀態變更
Kind: event emitted by types
| Param | Type | Description | ||
|---|---|---|---|---|
| res | object | |||
| res.status: | number | 發送狀態,取值為sending | failed | sent |
| res.mid: | number | 客戶端生成的client_mid |
"onUnreadChange" (cid)#
未讀數改變
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| cid | number | 會話ID |
"recentlistUpdate"#
最近會話更新
Kind: event emitted by types
"onGroupCreated" (meta)#
群組建立通知
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupDestoryed" (meta)#
群組解散通知
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupJoined" (meta)#
成員入群通知
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupLeaved" (meta)#
成員退群通知
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupKicked" (meta)#
成員被踢出群通知
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupApplyAccepted" (meta)#
群申請被通過
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupApplyDeclined" (meta)#
群申請被拒絕
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupBaned" (meta)#
被群禁言
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onGroupUnbaned" (meta)#
被群取消禁言
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群通知的訊息內容 |
"onRosterMessageContentAppend" (meta)#
收到單聊訊息內容追加
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 好友訊息內容追加的訊息 |
"onGroupMessageContentAppend" (meta)#
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群組訊息內容替換的訊息 |
"onRosterMessageReplace" (meta)#
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 好友訊息內容替換的訊息 |
"onGroupMessageReplace" (meta)#
Kind: event emitted by types
| Param | Type | Description |
|---|---|---|
| meta | Meta | 群組訊息內容替換的訊息 |
types~RosterItem : object#
好友信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| alias | string | 別名 |
| auth_mode | number | 驗證方式, 0 - 無需驗證,任何人可以加為好友, 1 - 需要同意方可加為好友, 2 - 需要回答問題正確方可加為好友, 3 - 拒絕所有加好友申請,int32 |
| auth_question | string | 驗證問題 |
| avatar | string | 頭像 |
| description | string | 描述信息 |
| ext | string | 擴展信息 |
| mute_notification | boolean | 是否接收訊息提醒 |
| nick_name | string | 暱稱或名稱 |
| public_info | string | 公開信息,好友和陌生人可見 |
| relation | number | 關係: 0 - 好友,1 - 被刪除,2 - 陌生人, int32 |
| user_id | number | 好友使用者ID,int64 |
| username | string | 使用者名 |
types~UserSettings : object#
使用者設定信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| auth_answer | string | 驗證問題答案 |
| auth_mode | number | 驗證方式, 0 - 無需驗證,任何人可以加為好友, 1 - 需要同意方可加為好友, 2 - 需要回答問題正確方可加為好友, 3 - 拒絕所有加好友申請,int32 |
| auth_question | string | 驗證問題 |
| auto_download | boolean | 是否自動下載 |
| group_confirm | boolean | 邀請入群時是否需要使用者確認: true - 需要使用者同意才可加入, false - 自動同意邀請 |
| id | number | 使用者ID, int64 |
| no_push | boolean | 是否關閉推播訊息 |
| no_push_detail | boolean | 是否推播詳情 |
| no_push_end_hour | number | 推播免打擾結束時間,int32 |
| no_push_start_hour | number | 推播免打擾開始時間,int32 |
| no_sounds | boolean | 收到訊息時是否靜音 |
| push_nick_name | string | 推播暱稱 |
| push_token | string | 推播token |
| silence_end_time | number | 推播不提醒結束時間,int32 |
| silence_start_time | number | 推播不提醒開始時間,int32 |
| user_id | number | 使用者ID,int64 |
| vibratory | boolean | 收到訊息時否振動 |
types~UserProfile : object#
使用者信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| avatar | string | 頭像 url |
| description | string | 描述信息 |
string | 郵箱 | |
| mobile | string | 手機號碼 |
| nick_name | string | 暱稱 |
| private_info | string | 私有信息,僅自己可見 |
| public_info | string | 公開信息,好友和陌生人可見 |
| user_id | number | 使用者ID,int64 |
| username | string | 使用者名 |
types~Meta : object#
訊息體
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| id | string | 訊息ID |
| from | string | 發送者 |
| to | string | 接收者 |
| content | string | 訊息內容 |
| type | string | 訊息類型: text - 文本, image - 圖片, audio - 語音, video - 視訊,file - 檔案, location - 位置, command - 命令, forward - 轉發 |
| ext | string | object | 擴展欄位 |
| config | string | object | SDK擴展欄位 |
| attach | string | object | 附件信息 |
| status | number | 訊息狀態: 0 - 未讀, 1 - 已投遞, 2 - 已讀 |
| timestamp | string | 訊息發送時間戳(毫秒) |
| toType | string | 接收者類型: roster - 好友, group - 群組 |
types~RosterApplication : object#
加好友申請列表項
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| expired_time | number | 過期時間,int64 |
| reason | string | 申請描述 |
| status | number | 狀態: 0 - 等待確認, 1 - 接受, 2 - 拒絕。 int32 |
| user_id | number | 發起加好友申請的使用者ID,int64 |
types~GroupInfoAndSettings : object#
群信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| apply_approval | number | 入群申請審批設定, 0:同意所有申請 1:需要管理員確認 2:拒絕所有申請 |
| avatar | string | 群頭像 |
| ban_expire_time | number | 全員禁言過期時間(秒),禁言期間只允許管理員發訊息, 為0或小於當前時間表示不禁言, -1表示永久禁言 |
| created_at | number | 建立時間 |
| description | string | 群描述 |
| ext | string | 群擴展信息 |
| group_id | number | 群id,int64 |
| history_visible | boolean | 新成員可見歷史聊天記錄設定 |
| member_invite | boolean | 群成員邀請設定: false - 不允許邀請, true - 允許邀請(預設) |
| member_modify | boolean | 群成員修改群信息設定: false - 群成員不能修改群信息(預設), true - 群成員可以修改群信息 |
| msg_mute_mode | number | 群訊息屏蔽模式: 0 - 表示不屏蔽, 1 - 表示屏蔽本地訊息通知, 2 - 表示屏蔽訊息,不接收訊息 |
| msg_push_mode | number | 群訊息推播模式:0 - 接收所有推播,1 - 不接受推播,2 - 接收管理員和@訊息推播, 3 - 只接收管理員訊息推播, 4 - 只接收@訊息推播 |
| name | string | 群名稱 |
| owner_id | number | 群主id,int64 |
| read_ack | boolean | 群訊息已讀功能設定 |
| status | number | 群狀態, 0:正常, 1:已解散 |
| type | number | 群類型: 1表示公開群,0表示私有群, 2表示聊天室 |
| updated_at | number | 更新時間,int64 |
| count | number | 群成員數 |
| capacity | number | 群容量 |
types~BriefGroupInfoAndSettings : object#
群簡要信息及使用者設定
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| apply_approval | number | 入群申請審批設定, 0:同意所有申請 1:需要管理員確認 2:拒絕所有申請 |
| avatar | string | 群頭像 |
| capacity | number | 群容量 |
| count | number | 群成員數 |
| group_id | number | 群id,int64 |
| msg_mute_mode | number | 群訊息屏蔽模式: 0 - 表示不屏蔽, 1 - 表示屏蔽本地訊息通知, 2 - 表示屏蔽訊息,不接收訊息 |
| msg_push_mode | number | 群訊息推播模式:0 - 接收所有推播,1 - 不接受推播,2 - 接收管理員和@訊息推播, 3 - 只接收管理員訊息推播, 4 - 只接收@訊息推播 |
| name | string | 群名稱 |
| owner | number | 群主id,int64 |
| status | number | 群狀態, 0:正常, 1:已解散,int32 |
| type | number | 群類型: 1表示公開群,0表示私有群, 2表示聊天室。int32 |
types~GroupMember : object#
群成員格式
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| display_name | string | 成員群名片 |
| join_time | number | 成員入群時間,int64 |
| user_id | number | 使用者id,int64 |
| avatar | string | 頭像地址 |
types~GroupMemberBanned : object#
禁言成員
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| display_name | string | 成員群名片 |
| join_time | number | 成員入群時間,int64 |
| user_id | number | 使用者id,int64 |
| avatar | string | 頭像地址 |
| expired_time | number | 禁言過期時間 |
types~GroupUserRelationResponse : object#
群使用者請求結果
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| reason | string | 原因 |
| result | string | 結果 |
| user_id | number | 使用者ID,int64 |
types~GroupAnnouncement : object#
群公告內容
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| author | number | 公告發布者,int64 |
| content | string | 公告內容 |
| created_at | number | 公告發布時間,int64 |
| group_id | number | 群id,int64 |
| id | number | 公告id,int64 |
| title | string | 公告標題 |
types~GroupInfoRequest : object#
建立群
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| avatar | string | 群頭像 |
| description | string | 群描述 |
| name | string | 群名稱 |
| type | number | 群類型 1表示公開群,0表示私有群, 2表示聊天室,int32 |
| user_list | Array.<number> | 邀請入群的使用者id列表 |
types~GroupBannedMemberRequest : object#
禁言請求
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| duration | number | 禁言時長,單位為分鐘,int64 |
| group_id | number | 群id,int64 |
| user_list | Array.<number> | 使用者id列表 |
types~GroupBlockedListItem : object#
群組黑名單
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| user_id | number | 使用者id,int64 |
| group_id | number | 群id,int64 |
| create_at | string | 建立時間 |
types~GroupInvitation : object#
群組邀請信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| group_id | number | 群ID |
| inviter_id | number | 邀請者ID |
| invitee_id | number | 被邀請者ID |
| reason | string | 原因 |
| status | number | 狀態: 0 - 待處理,1 - 使用者同意,2 - 使用者拒絕 |
| expire_time | number | 過期時間 |
| create_at | string | 建立時間 |
types~GroupApplication : object#
群申請信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| group_id | number | 群ID |
| applicant_id | number | 申請者ID |
| reason | string | 原因 |
| expire_time | number | 過期時間 |
| status | number | 狀態: 0 - 待處理,1 - 同意,2 - 拒絕 |
types~GroupSharedFile : object#
群共享檔案回傳格式
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| created_at | number | int64 |
| file_id | number | 共享檔案id,int64 |
| group_id | number | 群id,int64 |
| name | string | 共享檔案名稱 |
| size | number | 共享檔案大小,int64 |
| type | string | 共享檔案類型 |
| updated_at | number | int64 |
| uploader | number | 共享檔案上傳者,int64 |
| url | string | 共享檔案url |
types~GroupSharedFileResponse : object#
刪除群共享檔案結果
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| file_id | number | 檔案ID |
| reason | string | 原因 |
| result | string | 結果 |
types~GroupBanAllResponse : object#
全員禁言結果
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| ban_expire_time | number | 全員禁言過期時間,int64 |
types~FileUpload : object#
檔案上傳信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| download_url | string | 下載地址 |
| oss_body_param | object.<string, string> | 額外參數 |
| upload_url | string | 上傳地址 |
types~FileUploadResult : object#
檔案上傳結果
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| url | string | 下載地址 |
types~fileUploadProgress : function#
檔案上傳進度回呼
Kind: inner typedef of types
| Param | Type | Description |
|---|---|---|
| res | object | 進度 |
| res.loaded | number | 已下載字節數 |
| res.total | number | 總字節數 |
types~ConversationItem : object#
會話信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| id | number | 會話ID |
| content | string | 訊息內容 |
| timestamp | string | 訊息發送時間戳(毫秒) |
| type | string | 會話類型: roster - 單聊, group - 群聊 |
types~UserProfile : object#
使用者信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| avatar | string | 頭像 url |
| description | string | 描述信息 |
string | 郵箱 | |
| mobile | string | 手機號碼 |
| nick_name | string | 暱稱 |
| private_info | string | 私有信息,僅自己可見 |
| public_info | string | 公開信息,好友和陌生人可見 |
| user_id | number | 使用者ID,int64 |
| username | string | 使用者名 |
types~UserSettings : object#
使用者設定信息
Kind: inner typedef of types
Properties
| Name | Type | Description |
|---|---|---|
| auth_answer | string | 驗證問題答案 |
| auth_mode | number | 驗證方式, 0 - 無需驗證,任何人可以加為好友, 1 - 需要同意方可加為好友, 2 - 需要回答問題正確方可加為好友, 3 - 拒絕所有加好友申請,int32 |
| auth_question | string | 驗證問題 |
| auto_download | boolean | 是否自動下載 |
| group_confirm | boolean | 邀請入群時是否需要使用者確認: true - 需要使用者同意才可加入, false - 自動同意邀請 |
| id | number | 設定ID |
| no_push | boolean | 是否關閉推播訊息 |
| no_push_detail | boolean | 是否推播詳情 |
| no_push_end_hour | number | 推播免打擾結束時間,int32 |
| no_push_start_hour | number | 推播免打擾開始時間,int32 |
| no_sounds | boolean | 收到訊息時是否靜音 |
| push_nick_name | string | 推播暱稱 |
| push_token | string | 推播token |
| silence_end_time | number | 推播不提醒結束時間,int32 |
| silence_start_time | number | 推播不提醒開始時間,int32 |
| user_id | number | 使用者ID,int64 |
| vibratory | boolean | 收到訊息時否振動 |
types~Event : string#
監聽事件名稱
Kind: inner typedef of types
types~EventCallback : function#
監聽事件回呼
Kind: inner typedef of types
| Param | Type | Description |
|---|---|---|
| res | flooNotice | flooError | loginFail | loginSuccess | onGroupListUpdate | onGroupMemberChanged | onGroupMessage | onInputStatusMessage | onMentionMessage | onMessageCanceled | onMessageDeleted | onMessageRecalled | onMessageStatusChanged | onReceiveHistoryMsg | onRosterInfoUpdate | onRosterListUpdate | onRosterMessage | onRosterRTCMessage | onSendingMessageStatusChanged | onUnreadChange | recentlistUpdate | onGroupCreated | onGroupDestoryed | onGroupJoined | onGroupApplyAccepted | onGroupApplyDeclined | onGroupBaned | onGroupUnbaned | onRosterMessageContentAppend | onGroupMessageContentAppend | onRosterMessageReplace | onGroupMessageReplace | 事件結果 |