Skip to main content

Interface IMessageInteraction

Represents a partial Discord.IDiscordInteraction within a message.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IMessageInteraction

Properties​

Id​

Gets the snowflake id of the interaction.

View Source​
Declaration
ulong Id { get; }

Type​

Gets the type of the interaction.

View Source​
Declaration
InteractionType Type { get; }

Name​

Gets the name of the application command used.

View Source​
Declaration
string Name { get; }

User​

Gets the Discord.IUser who invoked the interaction.

View Source​
Declaration
IUser User { get; }