Class MessageGatewayData
Gateway message data matching the MessageResponse API model
public class MessageGatewayData : MessageJson, IMessage, ISnowflake
- Inheritance
-
objectMessageJsonMessageGatewayData
- Implements
Properties
ChannelType
The type of the channel.
[JsonProperty("channel_type")]
public ChannelType ChannelType { get; set; }
Property Value
GuildId
ID of the guild where the message was sent (null for DMs)
[JsonProperty("guild_id")]
public ulong? GuildId { get; set; }
Property Value
Member
Guild member data for the author (only present in guild messages)
[JsonProperty("member")]
public GuildMemberJson? Member { get; set; }
Property Value
- GuildMemberJson