replyDM

The Dm class represents a direct message conversation between two inboxes. It inherits from the Conversation class and provides DM-specific functionality.

Class: Dm

Constructor

  • constructor(client: Client, id: string, data?: SafeConversation): Initializes a new direct message conversation instance.

Instance Methods

  • async peerInboxId(): Promise<string>: Retrieves the inbox ID of the other participant in the DM.

  • async getDuplicateDms(): Promise<WorkerConversation[]>: Returns any past conversations that may have been created with the same peer.

Last updated