Skip to content

class Tourmaline::ChatMemberMember
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Direct known subclasses

Tourmaline::ChatMemberBanned Tourmaline::ChatMemberLeft Tourmaline::ChatMemberRestricted

Constructors#

.new(pull : JSON::PullParser) #

View source

Class methods#

.from_user(user) #

View source

Methods#

#kick(until_date = nil) #

View source

#promote(**permissions) #

View source

#restrict(permissions, until_date = nil) #

View source

#status : String #

View source

#unban #

View source

#user : User #

View source