messages.StartBot#

class pyrogram.raw.functions.messages.StartBot#

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

Details:
  • Layer: 158

  • ID: E6DF7378

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