haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.BotWriteAccessAllowReason

Synopsis

Documentation

data BotWriteAccessAllowReason Source #

Describes a reason why a bot was allowed to write messages to the current user

Constructors

BotWriteAccessAllowReasonConnectedWebsite

The user connected a website by logging in using Telegram Login Widget on it

Fields

BotWriteAccessAllowReasonAddedToAttachmentMenu

The user added the bot to attachment or side menu using toggleBotIsAddedToAttachmentMenu

BotWriteAccessAllowReasonLaunchedWebApp

The user launched a Web App using getWebAppLinkUrl

Fields

BotWriteAccessAllowReasonAcceptedRequest

The user accepted bot's request to send messages with allowBotToSendMessages