1using Remora.Discord.API.Abstractions.Objects;
34 public DiscordMessage(
ChatUser user,
string content, Optional<IMessageReference> messageReference, Snowflake? applicationId =
null,
string? interactionToken =
null)
Represents a tgs_chat_user datum.
A Message containing the source IMessageReference.
DiscordMessage(ChatUser user, string content, Optional< IMessageReference > messageReference, Snowflake? applicationId=null, string? interactionToken=null)
Initializes a new instance of the DiscordMessage class.
Optional< IMessageReference > MessageReference
The IMessageReference of the source Message.
Snowflake? ApplicationId
The Discord application ID, if the source was an interaction.
string? InteractionToken
The Discord interaction token, if the source was an interaction.
Represents a message received by a IProvider.