danog\MadelineProto\EventHandler\Message\Rich\Button\LoginUrl: A button that logs the user in to a website with their Telegram account.
Author: Daniil Gentili daniil@daniil.it
A button that logs the user in to a website with their Telegram account.
Properties
$url:stringURL of the website$forwardText:?stringText of the button in forwarded messages$requestWriteAccess:boolWhether to request the permission for the bot to send messages to the user$text:danog\MadelineProto\EventHandler\Message\Rich\RichTextText of the button$style:?danog\MadelineProto\EventHandler\Message\Rich\ButtonStyleStyle of the button, null for the default one
Method list:
Methods:
__construct(\danog\MadelineProto\EventHandler\Message\Rich\RichText|string $text, string $url, ?string $forwardText = NULL, bool $requestWriteAccess = false, ?\danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle $style = NULL)
Parameters:
$text:\danog\MadelineProto\EventHandler\Message\Rich\RichText|string$url:string$forwardText:?string$requestWriteAccess:bool$style:?\danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle
See also:
- [
\danog\MadelineProto\EventHandler\Message\Rich\RichText: Styled text of a rich message: a tree of plain texts, styles, links and so on.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/RichText.html) \danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle: Style of a button of a rich message.
Generated by danog/phpdoc