ChatPermissions constructor

ChatPermissions(
  1. {required bool can_send_basic_messages,
  2. required bool can_send_audios,
  3. required bool can_send_documents,
  4. required bool can_send_photos,
  5. required bool can_send_videos,
  6. required bool can_send_video_notes,
  7. required bool can_send_voice_notes,
  8. required bool can_send_polls,
  9. required bool can_send_other_messages,
  10. required bool can_add_web_page_previews,
  11. required bool can_change_info,
  12. required bool can_invite_users,
  13. required bool can_pin_messages,
  14. required bool can_manage_topics,
  15. int? extra,
  16. int? clientId}
)

Describes actions that a user is allowed to take in a chat

Implementation

ChatPermissions