| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Telegram.Bot.API.Types.LoginUrl
Contents
Synopsis
LoginUrl
This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in:
https://core.telegram.org/file/811140015/1734/8VZFkwWXalM.97872/6127fa62d8a0bf2b3c
Telegram apps support these buttons as of version 5.7.
Constructors
| LoginUrl | |
Fields
| |
Instances
| FromJSON LoginUrl Source # | |
Defined in Telegram.Bot.API.Types.LoginUrl | |
| ToJSON LoginUrl Source # | |
| Generic LoginUrl Source # | |
| Show LoginUrl Source # | |
| type Rep LoginUrl Source # | |
Defined in Telegram.Bot.API.Types.LoginUrl type Rep LoginUrl = D1 ('MetaData "LoginUrl" "Telegram.Bot.API.Types.LoginUrl" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "LoginUrl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "loginUrlUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "loginUrlForwardText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "loginUrlBotUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loginUrlRequestWriteAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))) | |