ChatPermissions¶
Describes actions that a user is allowed to take in a chat
ChatPermissions(
can_send_basic_messages: Bool,
can_send_audios: Bool,
can_send_documents: Bool,
can_send_photos: Bool,
can_send_videos: Bool,
can_send_video_notes: Bool,
can_send_voice_notes: Bool,
can_send_polls: Bool,
can_send_other_messages: Bool,
can_add_link_previews: Bool,
can_react_to_messages: Bool,
can_edit_tag: Bool,
can_change_info: Bool,
can_invite_users: Bool,
can_pin_messages: Bool,
can_create_topics: Bool
) → ChatPermissions
can_send_basic_messages¶
Bool
True, if the user can send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations, and venues
can_send_audios¶
Bool
True, if the user can send music files
can_send_documents¶
Bool
True, if the user can send documents
can_send_photos¶
Bool
True, if the user can send photos
can_send_videos¶
Bool
True, if the user can send videos
can_send_video_notes¶
Bool
True, if the user can send video notes
can_send_voice_notes¶
Bool
True, if the user can send voice notes
can_send_polls¶
Bool
True, if the user can send polls and checklists
can_send_other_messages¶
Bool
True, if the user can send animations, games, stickers, and dice and use inline bots
can_add_link_previews¶
Bool
True, if the user may add a link preview to their messages
can_react_to_messages¶
Bool
True, if the user can react to messages
can_edit_tag¶
Bool
True, if the user may change the tag of self
can_change_info¶
Bool
True, if the user can change the chat title, photo, and other settings
can_invite_users¶
Bool
True, if the user can invite new users to the chat
can_pin_messages¶
Bool
True, if the user can pin messages
can_create_topics¶
Bool
True, if the user can create topics