Skip to content

UserDMChannel

Represents the implementation of a Discord Direct Message Channel

Properties

id

UserDMChannel.id  :: string

This property was inherited from Objects.BaseUserChannel

recipients

UserDMChannel.recipients  :: { Objects.DiscordUser }

This property was inherited from Objects.BaseUserChannel

Methods

triggerTypingIndicator

UserDMChannel : triggerTypingIndicator ()  -> Vendor.Future

Triggers the typing indicator in the channel.

This function was inherited from Objects.BaseUserChannel

getMessagesAsync

UserDMChannel : getMessagesAsync (

     limit: number?
)  -> Vendor.Future

Gets messages from the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

getMessageAsync

UserDMChannel : getMessageAsync (

     messageId: string
)  -> Vendor.Future

Gets a specific message from the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

bulkDeleteMessagesAsync

UserDMChannel : bulkDeleteMessagesAsync (

     messageIds: {string}
)  -> Vendor.Future

Deletes multiple messages from the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

sendMessageAsync

UserDMChannel : sendMessageAsync (

     messageBuilder: MessageBuilder
)  -> Vendor.Future

Sends a message to the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

getPinnedMessagesAsync

UserDMChannel : getPinnedMessagesAsync ()  -> Vendor.Future<{[number]: DiscordMessage}>

Retrieves the pinned messages in the text channel asynchronously.

This function was inherited from Objects.BaseUserChannel

Functions

The UserDMChannel instance has no set functions!