struct Abartos::Application::WebhookReponseObject

Included Modules

Defined in:

abartos/application.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def application_id : Snowflake #

def avatar : String #

def channel_id : Snowflake #

def clone #

[View source]
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) #

[View source]
def guild_id : Snowflake #

def id : Snowflake #

def name : String #

def token : String #

def type : Int32 #

def url : String #