haskell-tdlib-2.1.22.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.UnconfirmedSession

Documentation

data UnconfirmedSession Source #

Constructors

UnconfirmedSession

Contains information about an unconfirmed session

Fields

  • _type :: Maybe SessionType

    Session type

  • date :: Maybe Int

    Point in time (Unix timestamp) when the user has logged in or the business bot was connected

  • device_model :: Maybe Text

    Model of the device that was used for the session creation, as provided by the application

  • location :: Maybe Text

    A human-readable description of the location from which the session was created, based on the IP address