Session constructor

Session(
  1. {required int64 id,
  2. required bool is_current,
  3. required bool is_password_pending,
  4. required bool is_unconfirmed,
  5. required bool can_accept_secret_chats,
  6. required bool can_accept_calls,
  7. required SessionType type,
  8. required int api_id,
  9. required String application_name,
  10. required String application_version,
  11. required bool is_official_application,
  12. required String device_model,
  13. required String platform,
  14. required String system_version,
  15. required int log_in_date,
  16. required int last_active_date,
  17. required String ip_address,
  18. required String location,
  19. int? extra,
  20. int? clientId}
)

Contains information about one session in a Telegram application used by the current user. Sessions must be shown to the user in the returned order

Implementation

Session