class Tourmaline::ChatAdministratorRights
- Tourmaline::ChatAdministratorRights
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/chat_administrator_rights.crConstructors
- .new(pull : JSON::PullParser)
- .new(anonymous : Bool = false, can_manage_chat : Bool = false, can_delete_messages : Bool = false, can_manage_video_chats : Bool = false, can_restrict_members : Bool = false, can_promote_members : Bool = false, can_change_info : Bool = false, can_invite_users : Bool = false, can_post_messages : Bool = false, can_edit_messages : Bool = false, can_pin_messages : Bool = false, can_manage_topics : Bool = false)
Instance Method Summary
- #anonymous? : Bool
- #can_change_info? : Bool
- #can_delete_messages? : Bool
- #can_edit_messages? : Bool
- #can_invite_users? : Bool
- #can_manage_chat? : Bool
- #can_manage_topics? : Bool
- #can_manage_video_chats? : Bool
- #can_pin_messages? : Bool
- #can_post_messages? : Bool
- #can_promote_members? : Bool
- #can_restrict_members? : Bool
Constructor Detail
def self.new(anonymous : Bool = false, can_manage_chat : Bool = false, can_delete_messages : Bool = false, can_manage_video_chats : Bool = false, can_restrict_members : Bool = false, can_promote_members : Bool = false, can_change_info : Bool = false, can_invite_users : Bool = false, can_post_messages : Bool = false, can_edit_messages : Bool = false, can_pin_messages : Bool = false, can_manage_topics : Bool = false)
#