AcceptUrlAuth

class pyrogram.raw.functions.messages.AcceptUrlAuth

Use this to accept a Seamless Telegram Login authorization request.

Details:
  • Layer: 136

  • ID: 0xb12c7125

Parameters
  • write_allowed (bool, optional) – Set this flag to allow the bot to send messages to you (if requested).

  • peer (InputPeer, optional) – The location of the message.

  • msg_id (int 32-bit, optional) – Message ID of the message with the login button.

  • button_id (int 32-bit, optional) – ID of the login button.

  • url (str, optional) – URL used for link URL authorization.

Returns

UrlAuthResult