Type Aliases
DeleteSelfMsgsOptions
Delete
Self
Msgs
Options
: { ext
?: string; msgs
: IMMessage[] }DeleteSelfMsgsResult
DeleteSelfMsgsResult: { deletedTime: number; from: string; idClient: string; idServer: string; scene: "p2p" | "team"; time: number; to: string }
Type declaration
deletedTime: number
from: string
idClient: string
idServer: string
scene: "p2p" | "team"
time: number
to: string
GetTeamMsgReadAccountsOptions
GetTeamMsgReadAccountsResult
GetTeamMsgReadAccountsResult: { readAccounts: string[]; teamMsgReceipt: { idClient: string; teamId: string }; unreadAccounts: string[] }
Type declaration
readAccounts: string[]
teamMsgReceipt: { idClient: string; teamId: string }
idClient: string
teamId: string
unreadAccounts: string[]
GetTeamMsgReadResult
GetTeamMsgReadResult: { idClient: string; idServer: string; read: number; teamId: string; unread: number }
Type declaration
idClient: string
idServer: string
read: number
teamId: string
unread: number
IMMessage
Type declaration
body: string
Optional callbackExt?: string
Optional ext?: string
flow: "in" | "out"
from: string
Optional fromClientType?: TClientType
Optional fromDeviceId?: string
Optional fromNick?: string
idClient: string
Optional idServer?: string
sessionId: string
Optional subType?: number
target: string
time: number
to: string
userUpdateTime: number
NIM_BroadcastMessage
NIM_BroadcastMessage: { body: string; fromAccid: string; id: string; time: number }
Type declaration
body: string
fromAccid: string
id: string
time: number
RecallMsgOptions
Recall
Msg
Options
: { apnsText
?: string; attach
?: string; env
?: string; msg
: IMMessage; ps
?: string; pushPayload
?: string }Type declaration
Optional apnsText?: string
Optional attach?: string
Optional env?: string
Optional ps?: string
Optional pushPayload?: string
SendMsgReceiptResult
SendMsgReceiptResult: { idClient: string; time: number; to: string }
Type declaration
idClient: string
time: number
to: string
SendTeamMsgReceiptOptions
TMsgAntiSpamInfo
TMsgAntiSpamInfo: { antiSpamBIZID?: string; antiSpamContent?: string; antiSpamUsingYidun?: number; clientAntispamHitting?: boolean; needAntiSpam?: boolean; yidunAntiCheating?: string; yidunAntiSpamExtension?: string; yidunAntiSpamResult?: string; yidunCallbackURL?: string }
Type declaration
Optional antiSpamBIZID?: string
Optional antiSpamContent?: string
Optional antiSpamUsingYidun?: number
Optional clientAntispamHitting?: boolean
Optional needAntiSpam?: boolean
Optional yidunAntiCheating?: string
Optional yidunAntiSpamExtension?: string
Optional yidunAntiSpamResult?: string
Optional yidunCallbackURL?: string
TMsgPushInfo
TMsgPushInfo: { needPush?: boolean; needPushBadge?: boolean; needPushNick?: boolean; pushApnsText?: string; pushPayload?: string }
Type declaration
Optional needPush?: boolean
Optional needPushBadge?: boolean
Optional needPushNick?: boolean
Optional pushApnsText?: string
Optional pushPayload?: string
TMsgSetting
TMsgSetting: { envConfig?: string; isMuted?: boolean; needOffline?: boolean; needRoaming?: boolean; needRouted?: boolean; needSaveHistory?: boolean; needSelfSync?: boolean; needUpdateSession?: boolean; resendFlag?: boolean }
Type declaration
Optional envConfig?: string
Optional isMuted?: boolean
Optional needOffline?: boolean
Optional needRoaming?: boolean
Optional needRouted?: boolean
Optional needSaveHistory?: boolean
Optional needSelfSync?: boolean
Optional needUpdateSession?: boolean
Optional resendFlag?: boolean
TMsgTeamSpecializationInfo
TMsgTeamSpecializationInfo: { ackSnapshot: number; forcePushIDsList?: string; isACKSent: boolean; needACK?: boolean; needForcePush?: boolean; pushContent?: string }
Type declaration
ackSnapshot: number
Optional forcePushIDsList?: string
isACKSent: boolean
Optional needACK?: boolean
Optional needForcePush?: boolean
Optional pushContent?: string
TMsgThreadMsgInfo
TMsgThreadMsgInfo: { replyMsgFromAccount?: string; replyMsgIdClient?: string; replyMsgIdServer?: string; replyMsgTime?: number; replyMsgToAccount?: string; threadMsgFromAccount?: string; threadMsgIdClient?: string; threadMsgIdServer?: string; threadMsgTime?: number; threadMsgToAccount?: string }
Type declaration
Optional replyMsgFromAccount?: string
Optional replyMsgIdClient?: string
Optional replyMsgIdServer?: string
Optional replyMsgTime?: number
Optional replyMsgToAccount?: string
Optional threadMsgFromAccount?: string
Optional threadMsgIdClient?: string
Optional threadMsgIdServer?: string
Optional threadMsgTime?: number
Optional threadMsgToAccount?: string
TeamMsgReceipt
TeamMsgReceipt: { account: string; idClient: string; idServer: string; read: number; teamId: string; unread: number }
Type declaration
account: string
idClient: string
idServer: string
read: number
teamId: string
unread: number
teamMsgReceipt
teamMsgReceipt: { idClient: string; idServer: string; teamId: string }
Type declaration
idClient: string
idServer: string
teamId: string
扩展字段