KeyboardButtonRequestPeer#
- class pyrogram.raw.types.KeyboardButtonRequestPeer#
Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer.
Constructor of
KeyboardButton
.- Details:
Layer:
158
ID:
D0B468C
- Parameters:
text (
str
) – Button text.button_id (
int
32-bit
) – Button ID, to be passed to messages.sendBotRequestedPeer.peer_type (
RequestPeerType
) – Filtering criteria to use for the peer selection list shown to the user. The list should display all existing peers of the specified type, and should also offer an option for the user to create and immediately use one or more (up to max_quantity) peers of the specified type, if needed.
Consider disabling your ad-blocker on this site to support Pyrogram