struct Abartos::Application::Interaction::Request::MessageComponent

Defined in:

abartos/application/interaction.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Abartos::Application::Interaction::Request

application_id : Snowflake application_id, application_id=(application_id : Snowflake) application_id=, channel_id : Snowflake | Nil channel_id, channel_id=(channel_id : Snowflake | Nil) channel_id=, guild_id : Snowflake | Nil guild_id, guild_id=(guild_id : Snowflake | Nil) guild_id=, id : Snowflake id, id=(id : Snowflake) id=, type : Int32 type, type=(type : Int32) type=, version : Int32 version, version=(version : Int32) version=

Constructor methods inherited from struct Abartos::Application::Interaction::Request

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]

Instance Method Detail

def data : NamedTuple(custom_id: String | Nil, component_type: Int32 | Nil) | Nil #

[View source]
def data=(data : NamedTuple(custom_id: String | Nil, component_type: Int32 | Nil) | Nil) #

[View source]
def member : Resource::Member #

[View source]
def member=(member : Resource::Member) #

[View source]
def message : Resource::Message #

[View source]
def message=(message : Resource::Message) #

[View source]
def token : String #

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

[View source]