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: 227

  • ID: 417EFD8F

Parameters:
Functions:

This object can be returned by 1 function.

bots.GetRequestedWebViewButton

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.