Skip to content

GuildAnnouncementChannel

Represents the implementation of a Discord Announcement channel.

Properties

lastPinTimestamp

GuildAnnouncementChannel.lastPinTimestamp  :: string

This property was inherited from Objects.BaseGuildTextChannel

lastMessageId

GuildAnnouncementChannel.lastMessageId  :: string?

This property was inherited from Objects.BaseGuildTextChannel

Methods

triggerTypingIndicator

GuildAnnouncementChannel : triggerTypingIndicator ()  -> Vendor.Future

Triggers the typing indicator in the channel.

This function was inherited from Objects.BaseGuildTextChannel

getMessagesAsync

GuildAnnouncementChannel : getMessagesAsync (

     limit: number?
)  -> Vendor.Future

Gets messages from the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

getMessageAsync

GuildAnnouncementChannel : getMessageAsync (

     messageId: string
)  -> Vendor.Future

Gets a specific message from the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

bulkDeleteMessagesAsync

GuildAnnouncementChannel : bulkDeleteMessagesAsync (

     messageIds: {string}
)  -> Vendor.Future

Deletes multiple messages from the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

sendMessageAsync

GuildAnnouncementChannel : sendMessageAsync (

     messageBuilder: MessageBuilder
)  -> Vendor.Future

Sends a message to the channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

getPinnedMessagesAsync

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

Retrieves the pinned messages in the text channel asynchronously.

This function was inherited from Objects.BaseGuildTextChannel

Functions

The GuildAnnouncementChannel instance has no set functions!