class Tourmaline::ChatPermissions
- Tourmaline::ChatPermissions
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/chat_permissions.crConstructors
- .new(pull : JSON::PullParser)
- .new(can_send_messages : Bool = true, can_send_media_messages : Bool = true, can_send_polls : Bool = true, can_send_other_messages : Bool = true, can_add_web_page_previews : Bool = true, can_change_info : Bool = true, can_invite_users : Bool = true, can_pin_messages : Bool = true, can_manage_topics : Bool = true)
Instance Method Summary
- #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_manage_topics : Bool
- #can_manage_topics=(can_manage_topics : 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)
Instance methods inherited from module Tourmaline::Model
client : Tourmaline::Client
client,
client=(client : Tourmaline::Client)
client=,
client? : Tourmaline::Client | Nil
client?,
finish_init(client : Tourmaline::Client)
finish_init
Constructor Detail
def self.new(can_send_messages : Bool = true, can_send_media_messages : Bool = true, can_send_polls : Bool = true, can_send_other_messages : Bool = true, can_add_web_page_previews : Bool = true, can_change_info : Bool = true, can_invite_users : Bool = true, can_pin_messages : Bool = true, can_manage_topics : Bool = true)
#