Raw.InlineBotSwitchPM

Raw.InlineBotSwitchPM

The bot requested the user to message them in private

inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM;
export namespace Raw {
  export class InlineBotSwitchPM {
    constructor(params: { text: string; startParam: string }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x3c20629f

Property

  • 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 startParameter (can be empty)

  • startParam : string

    The parameter for the /start parameter