struct Discord::Webhook

Included Modules

Defined in:

discordcr/mappings/webhook.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def avatar : String | Nil #

[View source]
def avatar=(avatar : String | Nil) #

[View source]
def channel_id : Snowflake #

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

[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 name : String #

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

[View source]
def token : String #

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

[View source]
def user : User | Nil #

[View source]
def user=(user : User | Nil) #

[View source]