Interface IMessageInteraction
Represents a partial IDiscordInteraction within a message.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IMessageInteraction
Properties
| Improve this Doc View SourceId
Gets the snowflake id of the interaction.
Declaration
ulong Id { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Name
Gets the name of the application command used.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
Type
Gets the type of the interaction.
Declaration
InteractionType Type { get; }
Property Value
Type | Description |
---|---|
InteractionType |
User
Gets the IUser who invoked the interaction.
Declaration
IUser User { get; }
Property Value
Type | Description |
---|---|
IUser |