class Tourmaline::ChatPermissions
- Tourmaline::ChatPermissions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/chat_permissions.crConstructors
- .new(pull : JSON::PullParser)
- .new(can_send_messages : Bool = true, can_send_audios : Bool = true, can_send_documents : Bool = true, can_send_photos : Bool = true, can_send_videos : Bool = true, can_send_video_notes : Bool = true, can_send_voice_notes : 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_audios : Bool
- #can_send_audios=(can_send_audios : Bool)
- #can_send_documents : Bool
- #can_send_documents=(can_send_documents : 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_photos : Bool
- #can_send_photos=(can_send_photos : Bool)
- #can_send_polls : Bool
- #can_send_polls=(can_send_polls : Bool)
- #can_send_video_notes : Bool
- #can_send_video_notes=(can_send_video_notes : Bool)
- #can_send_videos : Bool
- #can_send_videos=(can_send_videos : Bool)
- #can_send_voice_notes : Bool
- #can_send_voice_notes=(can_send_voice_notes : Bool)
Constructor Detail
def self.new(can_send_messages : Bool = true, can_send_audios : Bool = true, can_send_documents : Bool = true, can_send_photos : Bool = true, can_send_videos : Bool = true, can_send_video_notes : Bool = true, can_send_voice_notes : 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)
#