Raw.messages.StartBot

Raw.messages.StartBot

Start a conversation with a bot using a deep linking parameter

messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;
export namespace Raw {
  export namespace messages {
    export class StartBot {
      constructor(params: {
        bot: Raw.TypeInputUser;
        peer: Raw.TypeInputPeer;
        randomId: bigint;
        startParam: string;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xe6df7378

Property

  • bot : Raw.TypeInputUser

    The bot

  • peer : Raw.TypeInputPeer

    The chat where to start the bot, can be the bot’s private chat or a group

  • randomId : bigint

    Random id to avoid resending the same message

  • startParam : string

    Deep linking parameter

Results

Raw.TypeUpdates