struct Discord::Webhook

Defined in:

discordcr/mappings/webhook.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def avatar : ::Union(String, Nil) #

def avatar=(_avatar : ::Union(String, Nil)) #

def channel_id : Snowflake #

def channel_id=(_channel_id : Snowflake) #

def guild_id : ::Union(Snowflake, Nil) #

def guild_id=(_guild_id : ::Union(Snowflake, Nil)) #

def id : Snowflake #

def id=(_id : Snowflake) #

def name : String #

def name=(_name : String) #

def to_json(json : JSON::Builder) #

def token : String #

def token=(_token : String) #

def user : ::Union(User, Nil) #

def user=(_user : ::Union(User, Nil)) #