messages.SendBotRequestedPeer#

class pyrogram.raw.functions.messages.SendBotRequestedPeer[source]#

Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.

Details:
  • Layer: 224

  • ID: 6C5CF2A7

Parameters:
  • peer (InputPeer) – The bot that sent the keyboardButtonRequestPeer button.

  • button_id (int 32-bit) – The button_id field from the keyboardButtonRequestPeer constructor.

  • requested_peers (List of InputPeer) – The chosen peers.

  • msg_id (int 32-bit, optional) – ID of the message that contained the reply keyboard with the keyboardButtonRequestPeer button.

  • webapp_req_id (str, optional) – N/A

Returns:

Updates