struct Discord::MessageReference
- Discord::MessageReference
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
discordcr/mappings/channel.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #channel_id : Snowflake | Nil
- #channel_id=(channel_id : Snowflake | Nil)
- #fail_if_not_exists : Bool | Nil
- #fail_if_not_exists=(fail_if_not_exists : Bool | Nil)
- #guild_id : Snowflake | Nil
- #guild_id=(guild_id : Snowflake | Nil)
- #message_id : Snowflake | Nil
- #message_id=(message_id : Snowflake | Nil)
Constructor Detail
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)
#