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

TD.Data.BusinessConnectedBotInfo

Documentation

data BusinessConnectedBotInfo Source #

Constructors

BusinessConnectedBotInfo

Describes a connection of a bot to an account

Fields

  • bot :: Maybe BusinessConnectedBot

    Information about the bot

  • connection_date :: Maybe Int

    Point in time (Unix timestamp) when the bot was added; may be 0 if unknown

  • device_model :: Maybe Text

    Model of the device that was used for the bot connection, as provided by the application; may be empty if unknown

  • location :: Maybe Text

    A human-readable description of the location from which the bot was connected, based on the IP address; may be empty if unknown