Skip to content

UserGroupChannel

Represents the implementation of a Discord Group Channel

Properties

icon

UserGroupChannel.icon  :: string

ownerId

UserGroupChannel.ownerId  :: string

applicationId

UserGroupChannel.applicationId  :: string

managed

UserGroupChannel.managed  :: boolean

id

UserGroupChannel.id  :: string

This property was inherited from Objects.BaseUserChannel

recipients

UserGroupChannel.recipients  :: { Objects.DiscordUser }

This property was inherited from Objects.BaseUserChannel

Methods

modifyAsync

UserGroupChannel : modifyAsync (

     channelBuilder: ChannelBuilder.ChannelBuilder
)  -> Vendor.Future<unknown>

Modifies the thread channel settings asynchronously.

triggerTypingIndicator

UserGroupChannel : triggerTypingIndicator ()  -> Vendor.Future

Triggers the typing indicator in the channel.

This function was inherited from Objects.BaseUserChannel

getMessagesAsync

UserGroupChannel : getMessagesAsync (

     limit: number?
)  -> Vendor.Future

Gets messages from the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

getMessageAsync

UserGroupChannel : getMessageAsync (

     messageId: string
)  -> Vendor.Future

Gets a specific message from the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

bulkDeleteMessagesAsync

UserGroupChannel : bulkDeleteMessagesAsync (

     messageIds: {string}
)  -> Vendor.Future

Deletes multiple messages from the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

sendMessageAsync

UserGroupChannel : sendMessageAsync (

     messageBuilder: MessageBuilder
)  -> Vendor.Future

Sends a message to the channel asynchronously.

This function was inherited from Objects.BaseUserChannel

getPinnedMessagesAsync

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

Retrieves the pinned messages in the text channel asynchronously.

This function was inherited from Objects.BaseUserChannel

Functions

The UserGroupChannel instance has no set functions!