ConnectedWebsite
public struct ConnectedWebsite : Codable, Equatable, FunctionResult
Contains information about one website the current user is logged in with Telegram
-
Website identifier
Declaration
Swift
public let id: TDInt64 -
The domain name of the website
Declaration
Swift
public let domainName: String -
User identifier of a bot linked with the website
Declaration
Swift
public let botUserId: Int32 -
The version of a browser used to log in
Declaration
Swift
public let browser: String -
Operating system the browser is running on
Declaration
Swift
public let platform: String -
Point in time (Unix timestamp) when the user was logged in
Declaration
Swift
public let logInDate: Int32 -
Point in time (Unix timestamp) when obtained authorization was last used
Declaration
Swift
public let lastActiveDate: Int32 -
IP address from which the user was logged in, in human-readable format
Declaration
Swift
public let ip: String -
Human-readable description of a country and a region, from which the user was logged in, based on the IP address
Declaration
Swift
public let location: String -
Contains information about one website the current user is logged in with Telegram
Declaration
Swift
public init(id: TDInt64, domainName: String, botUserId: Int32, browser: String, platform: String, logInDate: Int32, lastActiveDate: Int32, ip: String, location: String)Parameters
idWebsite identifier
domainNameThe domain name of the website
botUserIdUser identifier of a bot linked with the website
browserThe version of a browser used to log in
platformOperating system the browser is running on
logInDatePoint in time (Unix timestamp) when the user was logged in
lastActiveDatePoint in time (Unix timestamp) when obtained authorization was last used
ipIP address from which the user was logged in, in human-readable format
locationHuman-readable description of a country and a region, from which the user was logged in, based on the IP address
View on GitHub
Install in Dash
ConnectedWebsite Structure Reference