AcceptUrlAuth

class pyrogram.raw.functions.messages.AcceptUrlAuth

Use this to accept a Seamless Telegram Login authorization request.

Details
  • Layer: 122

  • ID: 0xf729ea98

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

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

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

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

Returns

UrlAuthResult – URL authorization result.