export declare class ChannelsAPI
Adds a reaction to a message
See also: https://discord.com/developers/docs/resources/channel#create-reaction
Bulk deletes messages
See also: https://discord.com/developers/docs/resources/channel#bulk-delete-messages
createForumThread) : Promise<APIThreadChannel> (
Creates a new forum post
See also: https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel
createInvitechannelId: Snowflakeoptions?: Pick<RequestData, 'reason' | 'signal'>) : Promise<APIExtendedInvite> (
Creates a new invite for a channel
See also: https://discord.com/developers/docs/resources/channel#create-channel-invite
createMessagechannelId: Snowflakebody: RESTPostAPIChannelMessageJSONBody & { files?: RawFile[]; }options?: Pick<RequestData, 'signal'>) : Promise<APIMessage> (
Sends a message in a channel
See also: https://discord.com/developers/docs/resources/channel#create-message
createThread) : Promise<APIChannel> (
Creates a new thread
See also: https://discord.com/developers/docs/resources/channel#start-thread-from-messagehttps://discord.com/developers/docs/resources/channel#start-thread-without-message
createWebhookchannelId: Snowflakeoptions?: Pick<RequestData, 'reason' | 'signal'>) : Promise<APIWebhook> (
Creates a new webhook
See also: https://discord.com/developers/docs/resources/webhook#create-webhook
crosspostMessage) : Promise<APIMessage> (
Crossposts a message
See also: https://discord.com/developers/docs/resources/channel#crosspost-message
deletechannelId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIChannel> (
Deletes a channel
See also: https://discord.com/developers/docs/resources/channel#deleteclose-channel
Deletes all reactions for a message
See also: https://discord.com/developers/docs/resources/channel#delete-all-reactions
Deletes all reactions of an emoji for a message
See also: https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji
Deletes a message
See also: https://discord.com/developers/docs/resources/channel#delete-message
Deletes a reaction for the current user
See also: https://discord.com/developers/docs/resources/channel#delete-own-reaction
Deletes the permission overwrite for a user or role in a channel
See also: https://discord.com/developers/docs/resources/channel#delete-channel-permission
deleteUserMessageReactionchannelId: SnowflakemessageId: Snowflakeemoji: stringuserId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<void> (
Deletes a reaction for a user
See also: https://discord.com/developers/docs/resources/channel#delete-user-reaction
edit) : Promise<APIChannel> (
Edits a channel
See also: https://discord.com/developers/docs/resources/channel#modify-channel
editMessagechannelId: SnowflakemessageId: Snowflakebody: RESTPatchAPIChannelMessageJSONBody & { files?: RawFile[]; }options?: Pick<RequestData, 'signal'>) : Promise<APIMessage> (
Edits a message
See also: https://discord.com/developers/docs/resources/channel#edit-message
editPermissionOverwrite) : Promise<void> (
Edits the permission overwrite for a user or role in a channel
See also: https://discord.com/developers/docs/resources/channel#edit-channel-permissions
followAnnouncements) : Promise<APIFollowedChannel> (
Follows an announcement channel
See also: https://discord.com/developers/docs/resources/channel#follow-announcement-channel
getchannelId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIChannel> (
Fetches a channel
See also: https://discord.com/developers/docs/resources/channel#get-channel
getArchivedThreads) : Promise<RESTGetAPIChannelUsersThreadsArchivedResult> (
Fetches the archived threads of a channel
See also: https://discord.com/developers/docs/resources/channel#list-public-archived-threadshttps://discord.com/developers/docs/resources/channel#list-private-archived-threads
getInviteschannelId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPIChannelInvitesResult> (
Fetches the invites of a channel
See also: https://discord.com/developers/docs/resources/channel#get-channel-invites
getJoinedPrivateArchivedThreadschannelId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPIChannelUsersThreadsArchivedResult> (
Fetches the private joined archived threads of a channel
See also: https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads
getMessage) : Promise<APIMessage> (
Fetches a message
See also: https://discord.com/developers/docs/resources/channel#get-channel-message
getMessageReactions) : Promise<RESTGetAPIChannelMessageReactionUsersResult> (
Fetches the reactions for a message
See also: https://discord.com/developers/docs/resources/channel#get-reactions
getMessages) : Promise<RESTGetAPIChannelMessagesResult> (
Fetches the messages of a channel
See also: https://discord.com/developers/docs/resources/channel#get-channel-messages
getPinschannelId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPIChannelPinsResult> (
Fetches the pinned messages of a channel
See also: https://discord.com/developers/docs/resources/channel#get-pinned-messages
getWebhookschannelId: Snowflake) : Promise<RESTGetAPIChannelWebhooksResult> (
Fetches the webhooks of a channel
See also: https://discord.com/developers/docs/resources/webhook#get-channel-webhooks
Pins a message in a channel
See also: https://discord.com/developers/docs/resources/channel#pin-message
showTypingchannelId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<void> (
Shows a typing indicator in a channel
See also: https://discord.com/developers/docs/resources/channel#trigger-typing-indicator
Unpins a message in a channel
See also: https://discord.com/developers/docs/resources/channel#unpin-message