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.TypeInputUserThe bot
peer
: Raw.TypeInputPeerThe chat where to start the bot, can be the bot’s private chat or a group
randomId
: bigintRandom id to avoid resending the same message
startParam
: stringDeep linking parameter