Skip to content

ChatMember

class Tourmaline::ChatMember
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.from_user(user) #

.new(pull : JSON::PullParser) #

Methods#

#can_add_web_page_previews : Bool? #

#can_be_edited : Bool? #

#can_change_info : Bool? #

#can_delete_messages : Bool? #

#can_edit_messages : Bool? #

#can_invite_users : Bool? #

#can_pin_messages : Bool? #

#can_post_messages : Bool? #

#can_promote_members : Bool? #

#can_restrict_members : Bool? #

#can_send_media_messages : Bool? #

#can_send_messages : Bool? #

#can_send_other_messages : Bool? #

#can_send_polls : Bool? #

#chat_id : Int64 #

#chat_id=(chat_id : Int64) #

#chat_id? : Int64? #

#client : Tourmaline::Client #

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

#client? : Tourmaline::Client? #

#custom_title : String? #

#is_anonymous : Bool? #

#is_member : Bool? #

#kick(until_date = nil) #

#promote(**permissions) #

#restrict(permissions, until_date = nil) #

#status : String #

#unban #

#until_date : Time? #

#user : User #