struct Abartos::Resource::Message

Included Modules

Defined in:

abartos/resource.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def application_id : Snowflake | Nil #

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

[View source]
def author : User #

[View source]
def author=(author : User) #

[View source]
def channel_id : Snowflake #

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

[View source]
def components : Array(Abartos::Application::Webhook::Component) | Nil #

[View source]
def components=(components : Array(Abartos::Application::Webhook::Component) | Nil) #

[View source]
def content : String #

[View source]
def content=(content : String) #

[View source]
def edited_timestamp : Time | Nil #

[View source]
def edited_timestamp=(edited_timestamp : Time | Nil) #

[View source]
def guild_id : Snowflake | Nil #

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

[View source]
def id : Snowflake #

[View source]
def id=(id : Snowflake) #

[View source]
def mention_everyone : Bool #

[View source]
def mention_everyone=(mention_everyone : Bool) #

[View source]
def pinned : Bool #

[View source]
def pinned=(pinned : Bool) #

[View source]
def timestamp : Time #

[View source]
def timestamp=(timestamp : Time) #

[View source]
def tts : Bool #

[View source]
def tts=(tts : Bool) #

[View source]
def webhook_id : Snowflake | Nil #

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

[View source]