ChannelAPI

Undocumented in source.

Constructors

this
this(Snowflake id, void delegate(scope HTTPClientRequest req) @(safe) requester)
Undocumented in source.

Members

Functions

addToGroupDM
void addToGroupDM(Snowflake user)
Undocumented in source. Be warned that the author may not have intended to support it.
clearReactions
void clearReactions(Snowflake message)
Undocumented in source. Be warned that the author may not have intended to support it.
createInvite
Invite createInvite(Duration maxAge, int maxUses, bool temporary, bool unique)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteChannel
void deleteChannel()
Undocumented in source. Be warned that the author may not have intended to support it.
deleteChannelPermissions
void deleteChannelPermissions(Snowflake overwrite)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteMessage
void deleteMessage(Snowflake message)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteMessages
void deleteMessages(Snowflake[] messages)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteReaction
void deleteReaction(Snowflake message, Emoji emoji, Snowflake author)
Undocumented in source. Be warned that the author may not have intended to support it.
editChannelPermissions
void editChannelPermissions(Snowflake overwrite, uint allow, uint deny, string type)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Channel get()
Undocumented in source. Be warned that the author may not have intended to support it.
getInvites
Invite[] getInvites()
Undocumented in source. Be warned that the author may not have intended to support it.
getMessage
Message getMessage(Snowflake id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMessages
Message[] getMessages(int limit, Nullable!Snowflake around, Nullable!Snowflake before, Nullable!Snowflake after)
Undocumented in source. Be warned that the author may not have intended to support it.
getPinnedMessages
Message[] getPinnedMessages()
Undocumented in source. Be warned that the author may not have intended to support it.
getReactionsByEmoji
User[] getReactionsByEmoji(Snowflake message, Emoji emoji, Nullable!Snowflake before, Nullable!Snowflake after, int limit)
Undocumented in source. Be warned that the author may not have intended to support it.
pinMessage
void pinMessage(Snowflake id)
Undocumented in source. Be warned that the author may not have intended to support it.
react
void react(Snowflake message, Emoji emoji)
Undocumented in source. Be warned that the author may not have intended to support it.
removeFromGroupDM
void removeFromGroupDM(Snowflake user)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMessage
Message sendMessage(string content, Nullable!Snowflake nonce, TTS tts, Nullable!Embed embed)
Undocumented in source. Be warned that the author may not have intended to support it.
triggerTypingIndicator
void triggerTypingIndicator()
Undocumented in source. Be warned that the author may not have intended to support it.
unpinMessage
void unpinMessage(Snowflake id)
Undocumented in source. Be warned that the author may not have intended to support it.
unreact
void unreact(Snowflake message, Emoji emoji)
Undocumented in source. Be warned that the author may not have intended to support it.
updateChannel
void updateChannel(Update update)
Undocumented in source. Be warned that the author may not have intended to support it.
updateOwnMessage
Message updateOwnMessage(Snowflake message, string content, Nullable!Embed embed)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Update
struct Update
Undocumented in source.

Variables

endpoint
string endpoint;
Undocumented in source.
requester
void delegate(scope HTTPClientRequest req) @(safe) requester;
Undocumented in source.

Meta