ChannelRESTAPI

Inherits: DiscordRESTAPI < Reference < Object

Description

Channel REST API implementation.

Methods

return type signature
Channel get_channel ( int channel_id ) coroutine
Channel edit_channel ( int channel_id, Dictionary params, String reason="" ) coroutine
Channel delete_channel ( int channel_id, String reason="" ) coroutine
Array get_messages ( int channel_id, Dictionary query={limit=50} ) coroutine
Message get_message ( int channel_id, int message_id ) coroutine
Message create_message ( int channel_id, Dictionary params ) coroutine
Message crosspost_message ( int channel_id, int message_id ) coroutine
bool create_reaction ( int channel_id, int message_id, Emoji emoji ) coroutine
bool delete_own_reaction ( int channel_id, int message_id, Emoji emoji ) coroutine
bool delete_user_reaction ( int channel_id, int message_id, Emoji emoji, int user_id ) coroutine
Array get_reactions ( int channel_id, int message_id, Emoji emoji, int after=0, int limit=25 ) coroutine
void delete_all_reactions ( int channel_id, int message_id ) coroutine
void delete_emoji_reactions ( int channel_id, int message_id, Emoji emoji ) coroutine
Message edit_message ( int channel_id, int message_id, Dictionary params ) coroutine
bool delete_message ( int channel_id, int message_id, String reason="" ) coroutine
bool bulk_delete_messages ( int channel_id, PoolStringArray messages_ids, String reason="" ) coroutine
bool edit_channel_permissions ( int channel_id, int overwrite_id, Dictionary params, String reason ) coroutine
Array get_channel_invites ( int channel_id ) coroutine
Guild.Invite create_channel_invite ( int channel_id, Dictionary params, String reason="" ) coroutine
bool delete_channel_permission ( int channel_id, int overwrite_id, String reason ) coroutine

Method Descriptions