struct Discord::MessageReference

Included Modules

Defined in:

discordcr/mappings/channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(message_id : Discord::Snowflake | Nil = nil, channel_id : Discord::Snowflake | Nil = nil, guild_id : Discord::Snowflake | Nil = nil, fail_if_not_exists : Bool | Nil = nil) #

[View source]

Instance Method Detail

def channel_id : Snowflake | Nil #

[View source]
def channel_id=(channel_id : Snowflake | Nil) #

[View source]
def fail_if_not_exists : Bool | Nil #

[View source]
def fail_if_not_exists=(fail_if_not_exists : Bool | Nil) #

[View source]
def guild_id : Snowflake | Nil #

[View source]
def guild_id=(guild_id : Snowflake | Nil) #

[View source]
def message_id : Snowflake | Nil #

[View source]
def message_id=(message_id : Snowflake | Nil) #

[View source]