Layer 220
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

Gogram Example

// Creating InlineBotSwitchPm constructor
obj := &tg.InlineBotSwitchPm{
    Text: "...",
    StartParam: "...",
}