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

addMembers

deleteMessage

dispose

  • dispose(): void

getMessage

listMembers

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

    Parameters

    Returns PagedAsyncIterableIterator<ChatThreadMember>

listMessages

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

    Parameters

    Returns PagedAsyncIterableIterator<ChatMessage>

listReadReceipts

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

    Parameters

    Returns PagedAsyncIterableIterator<ReadReceipt>

removeMember

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