InlineBotSwitchPM#

class pyrogram.raw.types.InlineBotSwitchPM#

The bot requested the user to message them in private.

Constructor of InlineBotSwitchPM.

Details:
  • Layer: 158

  • ID: 3C20629F

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.