UrlAuthResultRequest

class pyrogram.raw.types.UrlAuthResultRequest

Details about the authorization request.

Constructor type of UrlAuthResult.

Details
  • Layer: 126

  • ID: 0x92d33a0e

Parameters
  • bot (User) – Username of a bot, which will be used for user authorization. If not specified, the current bot’s username will be assumed. The url’s domain must be the same as the domain linked with the bot. See Linking your domain to the bot for more details.

  • domain (str) – The domain name of the website on which the user will log in.

  • request_write_access (bool, optional) – Whether the bot would like to send messages to the user.

Methods

This object can be returned by 2 methods:

messages.RequestUrlAuth

Get more info about a Seamless Telegram Login authorization request.

messages.AcceptUrlAuth

Use this to accept a Seamless Telegram Login authorization request.