Supergroup constructor

Supergroup(
  1. {required int id,
  2. Usernames? usernames,
  3. required int date,
  4. required ChatMemberStatus status,
  5. required int member_count,
  6. required bool has_linked_chat,
  7. required bool has_location,
  8. required bool sign_messages,
  9. required bool join_to_send_messages,
  10. required bool join_by_request,
  11. required bool is_slow_mode_enabled,
  12. required bool is_channel,
  13. required bool is_broadcast_group,
  14. required bool is_forum,
  15. required bool is_verified,
  16. required String restriction_reason,
  17. required bool is_scam,
  18. required bool is_fake,
  19. required bool has_active_stories,
  20. required bool has_unread_active_stories,
  21. int? extra,
  22. int? clientId}
)

Represents a supergroup or channel with zero or more members (subscribers in the case of channels). From the point of view of the system, a channel is a special kind of a supergroup:

Implementation

Supergroup