Skip to content

GuildTextChannel

Represents the implementation of a Discord Text channel.

Properties

lastPinTimestamp

GuildTextChannel.lastPinTimestamp  :: string

This property was inherited from Objects.BaseGuildTextChannel

lastMessageId

GuildTextChannel.lastMessageId  :: string?

This property was inherited from Objects.BaseGuildTextChannel

Methods

triggerTypingIndicator

GuildTextChannel : triggerTypingIndicator ()  -> Vendor.Future

Triggers the typing indicator in the channel.

This function was inherited from Objects.BaseGuildTextChannel

getMessagesAsync

GuildTextChannel : getMessagesAsync (

     limit: number?
)  -> Vendor.Future

Gets messages from the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

getMessageAsync

GuildTextChannel : getMessageAsync (

     messageId: string
)  -> Vendor.Future

Gets a specific message from the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

bulkDeleteMessagesAsync

GuildTextChannel : bulkDeleteMessagesAsync (

     messageIds: {string}
)  -> Vendor.Future

Deletes multiple messages from the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

sendMessageAsync

GuildTextChannel : sendMessageAsync (

     messageBuilder: MessageBuilder
)  -> Vendor.Future

Sends a message to the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

getPinnedMessagesAsync

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

Retrieves the pinned messages in the text channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

Functions

The GuildTextChannel instance has no set functions!