Skip to content

ChatPermissions

class Tourmaline::ChatPermissions
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

.new(can_send_messages = true, can_send_media_messages = true, can_send_polls = true, can_send_other_messages = true, can_add_web_page_previews = true, can_change_info = true, can_invite_users = true, can_pin_messages = true) #

Methods#

#can_add_web_page_previews : Bool #

#can_add_web_page_previews=(can_add_web_page_previews : Bool) #

#can_change_info : Bool #

#can_change_info=(can_change_info : Bool) #

#can_invite_users : Bool #

#can_invite_users=(can_invite_users : Bool) #

#can_pin_messages : Bool #

#can_pin_messages=(can_pin_messages : Bool) #

#can_send_media_messages : Bool #

#can_send_media_messages=(can_send_media_messages : Bool) #

#can_send_messages : Bool #

#can_send_messages=(can_send_messages : Bool) #

#can_send_other_messages : Bool #

#can_send_other_messages=(can_send_other_messages : Bool) #

#can_send_polls : Bool #

#can_send_polls=(can_send_polls : Bool) #