struct Discord::Gateway::GuildMemberAddPayload

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def deaf : Bool #

def deaf=(_deaf : Bool) #

def guild_id : Snowflake #

def guild_id=(_guild_id : Snowflake) #

def joined_at : ::Union(Time, Nil) #

def joined_at=(_joined_at : ::Union(Time, Nil)) #

def mute : Bool #

def mute=(_mute : Bool) #

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

def nick=(_nick : ::Union(String, Nil)) #

def roles : Array(Snowflake) #

def roles=(_roles : Array(Snowflake)) #

def to_json(json : JSON::Builder) #

def user : User #

def user=(_user : User) #