Skip to content

class Tourmaline::ChatMember
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Class methods#

.from_user(user) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#can_add_web_page_previews : Bool? #

View source

#can_be_edited : Bool? #

View source

#can_change_info : Bool? #

View source

#can_delete_messages : Bool? #

View source

#can_edit_messages : Bool? #

View source

#can_invite_users : Bool? #

View source

#can_pin_messages : Bool? #

View source

#can_post_messages : Bool? #

View source

#can_promote_members : Bool? #

View source

#can_restrict_members : Bool? #

View source

#can_send_media_messages : Bool? #

View source

#can_send_messages : Bool? #

View source

#can_send_other_messages : Bool? #

View source

#can_send_polls : Bool? #

View source

#chat_id : Int64 #

#chat_id=(chat_id : Int64) #

View source

#chat_id? : Int64? #

#client : Tourmaline::Client #

#client=(client : Tourmaline::Client) #

View source

#client? : Tourmaline::Client? #

#custom_title : String? #

View source

#inviter : User? #

USER API ONLY

View source

#is_anonymous : Bool? #

View source

#is_member : Bool? #

View source

#joined_date : Time? #

View source

#kick(until_date = nil) #

View source

#promote(**permissions) #

View source

#restrict(permissions, until_date = nil) #

View source

#status : String #

View source

#unban #

View source

#until_date : Time? #

View source

#user : User #

View source