Layer 220
InlineBotSwitchPm
The bot requested the user to message them in private
constructor
inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | string | 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 | The parameter for the /start parameter |
Returns
InlineBotSwitchPMGogram Example
// Creating InlineBotSwitchPm constructor obj := &tg.InlineBotSwitchPm{ Text: "...", StartParam: "...", }