messages.AcceptUrlAuth

class pyrogram.raw.functions.messages.AcceptUrlAuth

Use this to accept a Seamless Telegram Login authorization request, for more info click here »

Details:
  • Layer: 194

  • ID: B12C7125

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, click here for more info »

Returns:

UrlAuthResult