-
static class
The session is running on an Android device.
static class
The session is running on a generic Apple device.
static class
The session is running on the Brave browser.
static class
The session is running on the Chrome browser.
static class
The session is running on the Edge browser.
static class
The session is running on the Firefox browser.
static class
The session is running on an iPad device.
static class
The session is running on an iPhone device.
static class
The session is running on a Linux device.
static class
The session is running on a Mac device.
static class
The session is running on the Opera browser.
static class
The session is running on the Safari browser.
static class
The session is running on an Ubuntu device.
static class
The session is running on an unknown type of device.
static class
The session is running on the Vivaldi browser.
static class
The session is running on a Windows device.
static 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 isUnconfirmed,
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 ipAddress,
String location)
Contains information about one session in a Telegram application used by the current user.