Table of Contents

Class MessageInteraction<TUser>

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a partial IDiscordInteraction within a message.

public class MessageInteraction<TUser> : IMessageInteraction where TUser : IUser

Type Parameters

TUser

The type of the user.

Inheritance
MessageInteraction<TUser>
Implements
Inherited Members

Properties

Id

Gets the snowflake id of the interaction.

public ulong Id { get; }

Property Value

ulong

Name

Gets the name of the application command used.

public string Name { get; }

Property Value

string

Type

Gets the type of the interaction.

public InteractionType Type { get; }

Property Value

InteractionType

User

Gets the TUser who invoked the interaction.

public TUser User { get; }

Property Value

TUser