InlineBotSwitchPM

class pyrogram.raw.types.InlineBotSwitchPM

The bot requested the user to message him in private.

Constructor type of InlineBotSwitchPM.

Details
  • Layer: 126

  • ID: 0x3c20629f

Parameters
  • text (str) – Text for the button that switches the user to a private chat with the bot and sends the bot a start message with the parameter start_parameter (can be empty).

  • start_param (str) – The parameter for the /start parameter.