StartBot

class pyrogram.raw.functions.messages.StartBot

Start a conversation with a bot using a deep linking parameter.

Details
  • Layer: 126

  • ID: 0xe6df7378

Parameters
  • bot (InputUser) – The bot.

  • peer (InputPeer) – The chat where to start the bot, can be the bot’s private chat or a group.

  • random_id (int 64-bit) – Random ID to avoid resending the same message.

  • start_param (str) – Deep linking parameter.

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.