IMessageChannel
Last updated
Was this helpful?
Last updated
Was this helpful?
Namespace: Discord
Triggers the "user is typing..." signal.
Sends a message to the channel.
Name
Description
Type
message
The message you want to send
string
tts
Whether your message should be tts'd or not
bool?
embed
The embed you want to include
DiscordEmbed?
Sends a file to the channel.
Name
Description
Type
fileName
The name you want displayed on the file in the Discord UI
string
fileData
The contents of your file
byte[]
message
A message to go along with the file
string?
tts
Whether your message should be tts'd or not
bool?
Sends a file to the channel. This overload reads from a file on your machine.
Name
Description
Type
filePath
Your file's path
string
message
A message to go along with the file
string?
tts
Whether your message should be tts'd or not
bool?
Bulk deletes a list of messages (only available on bot acocunts).
Name
Description
Type
messages
The messages you want deleted
List<ulong>
Gets a list of messages from the channel.
Name
Description
Type
filters
Your desired message filters
MessageFilters?
A list of
Gets the channel's pinned messages.
A list of
Pins a message.
Name
Description
Type
messageId
ID of the message you want pinned
ulong
Unpins a message from the channel.
Name
Description
Type
messageId
ID of the message you want unpinned
ulong