KeyboardButtonRequestPhone#
- class pyrogram.raw.types.KeyboardButtonRequestPhone#
Button to request a user’s phone number Available only in private chats, in reply keyboards. When pressed, clients must request permission from the user to send the current user’s contact to the chat, replying to the message that attached the replyKeyboardMarkup.
Constructor of
KeyboardButton.- Details:
Layer:
227ID:
417EFD8F
- Parameters:
text (
str) – Button textstyle (
KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.
- Functions:
This object can be returned by 1 function.
Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here for more info.