messages.SendBotRequestedPeer

class pyrogram.raw.functions.messages.SendBotRequestedPeer

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

Details:
  • Layer: 187

  • ID: 91B2D060

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_peers (List of InputPeer) – The chosen peers.

Returns:

Updates