Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
LoginUrl | |
|
Instances
FromJSON LoginUrl Source # | |
ToJSON LoginUrl Source # | |
Defined in Telegram.Bot.API.Types.LoginUrl | |
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-6.5-3pY7XQZ5v9zCuyh8HdDMyB" '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))))) |