struct Abartos::Application::WebhookReponseObject
- Abartos::Application::WebhookReponseObject
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
abartos/application.crConstructors
- .new(type : Int32, id : Snowflake, name : String, avatar : String, channel_id : Snowflake, guild_id : Snowflake, application_id : Snowflake, token : String, url : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #application_id : Snowflake
- #avatar : String
- #channel_id : Snowflake
- #clone
- #copy_with(type _type = @type, id _id = @id, name _name = @name, avatar _avatar = @avatar, channel_id _channel_id = @channel_id, guild_id _guild_id = @guild_id, application_id _application_id = @application_id, token _token = @token, url _url = @url)
- #guild_id : Snowflake
- #id : Snowflake
- #name : String
- #token : String
- #type : Int32
- #url : String
Constructor Detail
def self.new(type : Int32, id : Snowflake, name : String, avatar : String, channel_id : Snowflake, guild_id : Snowflake, application_id : Snowflake, token : String, url : String)
#
Instance Method Detail
def copy_with(type _type = @type, id _id = @id, name _name = @name, avatar _avatar = @avatar, channel_id _channel_id = @channel_id, guild_id _guild_id = @guild_id, application_id _application_id = @application_id, token _token = @token, url _url = @url)
#