Table of Contents

Class MessageGatewayData

Namespace
Fluxer.Net.Gateway
Assembly
Fluxer.Net.dll

Gateway message data matching the MessageResponse API model

public class MessageGatewayData : MessageJson, IMessage, ISnowflake
Inheritance
object
MessageJson
MessageGatewayData
Implements

Properties

ChannelType

The type of the channel.

[JsonProperty("channel_type")]
public ChannelType ChannelType { get; set; }

Property Value

ChannelType

GuildId

ID of the guild where the message was sent (null for DMs)

[JsonProperty("guild_id")]
public ulong? GuildId { get; set; }

Property Value

ulong?

Member

Guild member data for the author (only present in guild messages)

[JsonProperty("member")]
public GuildMemberJson? Member { get; set; }

Property Value

GuildMemberJson