messages.SendBotRequestedPeer#

class pyrogram.raw.functions.messages.SendBotRequestedPeer#

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

Details:
  • Layer: 158

  • ID: FE38D01B

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

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

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

  • requested_peer (InputPeer) – N/A

Returns:

Updates