inlineBotSwitchPM
The bot requested the user to message them in private
type tg.InlineBotSwitchPM struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Text | string | yes | 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) |
StartParam | string | yes | The parameter for the /start parameter |
References
- Official documentation
- Generated Go reference
- TL definition:
inlineBotSwitchPM#3c20629f