Skip to content

class Tourmaline::ChatAdministratorRights
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Constructors#

.new(pull : JSON::PullParser) #

View source

.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) #

View source

Methods#

#anonymous? : 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_manage_chat? : Bool #

View source

#can_manage_topics? : Bool #

View source

#can_manage_video_chats? : 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