Skip to content

kient / ChatAPI

Class: ChatAPI

src/api/chat/index.ts:9

Description placeholder

Extends

  • APIBase

Constructors

new ChatAPI()

ts
new ChatAPI(kient): ChatAPI

src/api/api-base.ts:7

Parameters

ParameterType
kientKient

Returns

ChatAPI

Inherited from

ts
APIBase.constructor

Properties

PropertyModifierTypeInherited fromDefined in
kientreadonlyKientAPIBase.kientsrc/api/api-base.ts:5

Methods

send()

ts
send(params): Promise<Chat>

src/api/chat/index.ts:15

Send a chat to a channel and returns the status of the message

Parameters

ParameterType
paramsSendChatParams

Returns

Promise<Chat>