Skip to content

nim_def.talk_def.NIMTalkAPI

Zvicii edited this page Dec 30, 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:48


SendMsg

SendMsg(msg, jsonExtension): void

Parameters

Name Type
msg IMMessage
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:50


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:52


RecallMsg

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

Parameters

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

Returns

void

Defined in

ts/nim_def/talk_def.ts:54


GetAttachmentPathFromMsg

GetAttachmentPathFromMsg(msg): string

Parameters

Name Type
msg IMMessage

Returns

string

Defined in

ts/nim_def/talk_def.ts:56


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:58


RegMessageFilter

RegMessageFilter(cb, jsonExtension): void

Parameters

Name Type
cb null | MessageFilterCallback
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:60


RegTeamNotificationFilter

RegTeamNotificationFilter(cb, jsonExtension): void

Parameters

Name Type
cb null | TeamNotificationFilterCallback
jsonExtension string

Returns

void

Defined in

ts/nim_def/talk_def.ts:62

Clone this wiki locally