-
static final class
The session is running on an Android device.
static final class
The session is running on a generic Apple device.
static final class
The session is running on the Brave browser.
static final class
The session is running on the Chrome browser.
static final class
The session is running on the Edge browser.
static final class
The session is running on the Firefox browser.
static final class
The session is running on an iPad device.
static final class
The session is running on an iPhone device.
static final class
The session is running on a Linux device.
static final class
The session is running on a Mac device.
static final class
The session is running on the Opera browser.
static final class
The session is running on the Safari browser.
static final class
The session is running on an Ubuntu device.
static final class
The session is running on an unknown
type of device.
static final class
The session is running on the Vivaldi browser.
static final class
The session is running on a Windows device.
static final class
The session is running on an Xbox console.
Session type based on the system and
application version, which can be used
to display a corresponding icon.
Session(long id,
boolean isCurrent,
boolean isPasswordPending,
boolean canAcceptSecretChats,
boolean canAcceptCalls,
TdApi.SessionType type,
int apiId,
String applicationName,
String applicationVersion,
boolean isOfficialApplication,
String deviceModel,
String platform,
String systemVersion,
int logInDate,
int lastActiveDate,
String ip,
String country,
String region)
Contains information about one session
in a Telegram application used by the
current user.