ChatMember
class Tourmaline::ChatMember
inherits Reference
#
Included modules#
JSON::Serializable
Tourmaline::Model
Class methods#
.from_user(user)
#
(user)
.new(pull : JSON::PullParser)
#
(pull : JSON::PullParser)
Methods#
#can_add_web_page_previews : Bool?
#
: Bool?
#can_be_edited : Bool?
#
: Bool?
#can_change_info : Bool?
#
: Bool?
#can_delete_messages : Bool?
#
: Bool?
#can_edit_messages : Bool?
#
: Bool?
#can_invite_users : Bool?
#
: Bool?
#can_pin_messages : Bool?
#
: Bool?
#can_post_messages : Bool?
#
: Bool?
#can_promote_members : Bool?
#
: Bool?
#can_restrict_members : Bool?
#
: Bool?
#can_send_media_messages : Bool?
#
: Bool?
#can_send_messages : Bool?
#
: Bool?
#can_send_other_messages : Bool?
#
: Bool?
#can_send_polls : Bool?
#
: Bool?
#chat_id : Int64
#
: Int64
#chat_id=(chat_id : Int64)
#
(chat_id : Int64)
#chat_id? : Int64?
#
: Int64?
#client : Tourmaline::Client
#
: Tourmaline::Client
#client=(client : Tourmaline::Client)
#
(client : Tourmaline::Client)
#client? : Tourmaline::Client?
#
: Tourmaline::Client?
#custom_title : String?
#
: String?
#is_anonymous : Bool?
#
: Bool?
#is_member : Bool?
#
: Bool?
#kick(until_date = nil)
#
(until_date = nil)
#promote(**permissions)
#
(**permissions)
#restrict(permissions, until_date = nil)
#
(permissions, until_date = nil)
#status : String
#
: String
#unban
#
#until_date : Time?
#
: Time?
#user : User
#
: User