Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatThreadClient

Package version

The client to do chat operations

Hierarchy

  • ChatThreadClient

Index

Constructors

constructor

Properties

threadId

threadId: string

Thread ID of the ChatThreadClient

Methods

addParticipants

deleteMessage

dispose

  • dispose(): void

getMessage

listMessages

  • Gets a list of message from a thread identified by threadId. Returns the list of the messages.

    Parameters

    Returns PagedAsyncIterableIterator<ChatMessage>

listParticipants

  • Gets the participants of the thread identified by threadId. Returns the lists of the participants.

    Parameters

    Returns PagedAsyncIterableIterator<ChatParticipant>

listReadReceipts

  • Gets a list of read receipt from a thread identified by threadId. Returns the list of the messages.

    Parameters

    Returns PagedAsyncIterableIterator<ChatMessageReadReceipt>

removeParticipant

sendMessage

sendReadReceipt

sendTypingNotification

  • Sends a typing notification to the thread. Doesn't attempt to send if the time since last notification is smaller than the minimum typing interval

    Parameters

    Returns Promise<boolean>

    True if the typing message notification could be sent, otherwise false.

updateMessage

updateThread

Generated using TypeDoc