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

TD.Query.DisconnectTonConnectSession

Synopsis

Documentation

data DisconnectTonConnectSession Source #

Closes a TON Connect session. Returns Ok

Constructors

DisconnectTonConnectSession 

Fields

  • session_id :: Maybe Int

    Unique identifier of the TON Connect session to close

  • body :: Maybe ByteString

    Encrypted body of the disconnect event; may be empty if the session has already been closed. Use getTonConnectSessionNextEventId to get event identifier for the event