Skip to content

nim_def.talk_def.NIMTalkAPI

Zvicii edited this page Oct 24, 2022 · 4 revisions

Interface: NIMTalkAPI

nim_def/talk_def.NIMTalkAPI

Table of contents

Methods

Methods

InitEventHandlers

InitEventHandlers(): void

Returns

void

Defined in

ts/nim_def/talk_def.ts:47


SendMsg

SendMsg(msg, jsonExtension): void

Parameters

Name Type
msg IMMessage
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:49


StopSendMsg

StopSendMsg(clientMsgId, type, jsonExtension): void

Parameters

Name Type
clientMsgId string
type NIMMessageType
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:51


RecallMsg

RecallMsg(msg, notify_msg, cb, apnstext, pushpayloadconst, jsonExtension): void

Parameters

Name Type
msg IMMessage
notify_msg string
cb RecallMsgsCallback
apnstext string
pushpayloadconst string
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:53


GetAttachmentPathFromMsg

GetAttachmentPathFromMsg(msg): string

Parameters

Name Type
msg IMMessage

Returns

string

Defined in

ts/nim_def/talk_def.ts:55


ReplyMessage

ReplyMessage(msg, json_reply_msg): void

Parameters

Name Type
msg IMMessage
json_reply_msg string

Returns

void

Defined in

ts/nim_def/talk_def.ts:57


RegMessageFilter

RegMessageFilter(cb, jsonExtension): void

Parameters

Name Type
cb MessageFilterCallback
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:59


RegTeamNotificationFilter

RegTeamNotificationFilter(cb, jsonExtension): void

Parameters

Name Type
cb TeamNotificationFilterCallback
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:61

Clone this wiki locally