Skip to content

nim_def.friend_def.NIMFriendAPI

Zvicii edited this page Nov 22, 2022 · 3 revisions

Interface: NIMFriendAPI

nim_def/friend_def.NIMFriendAPI

Table of contents

Methods

Methods

InitEventHandlers

InitEventHandlers(): void

Returns

void

Defined in

ts/nim_def/friend_def.ts:69


Request

Request(accid, verify_type, msg, cb, jsonExtension): boolean

Parameters

Name Type
accid string
verify_type NIMVerifyType
msg string
cb null | FriendOptCallback
jsonExtension string

Returns

boolean

Defined in

ts/nim_def/friend_def.ts:71


Delete

Delete(accid, option, cb): boolean

Parameters

Name Type
accid string
option DeleteFriendOption
cb null | FriendOptCallback

Returns

boolean

Defined in

ts/nim_def/friend_def.ts:73


Update

Update(profile, cb, jsonExtension): boolean

Parameters

Name Type
profile FriendProfile
cb null | FriendOptCallback
jsonExtension string

Returns

boolean

Defined in

ts/nim_def/friend_def.ts:75


GetList

GetList(cb, jsonExtension): void

Parameters

Name Type
cb null | GetFriendsListCallback
jsonExtension string

Returns

void

Defined in

ts/nim_def/friend_def.ts:77


GetFriendProfile

GetFriendProfile(accid, cb, jsonExtension): void

Parameters

Name Type
accid string
cb null | GetFriendProfileCallback
jsonExtension string

Returns

void

Defined in

ts/nim_def/friend_def.ts:79


QueryFriendListByKeyword

QueryFriendListByKeyword(keyword, cb, jsonExtension): boolean

Parameters

Name Type
keyword string
cb null | GetFriendsListCallback
jsonExtension string

Returns

boolean

Defined in

ts/nim_def/friend_def.ts:81

Clone this wiki locally