UpdateNewBotConnection

class pyrogram.raw.types.UpdateNewBotConnection

Telegram API type.

Constructor of Update.

Details:
  • Layer: 227

  • ID: B22083A6

Parameters:
  • bot_id (int 64-bit) – N/A

  • confirmed (bool, optional) – N/A

  • date (int 32-bit, optional) – N/A

  • device (str, optional) – N/A

  • location (str, optional) – N/A

TL Schema

updateNewBotConnection#b22083a6
flags:#
confirmed:flags.0?true
bot_id:long
date:flags.1?int
device:flags.1?string
location:flags.1?string

= Update

Parameter Tree

UpdateNewBotConnection
├── confirmed → true (optional)
├── bot_id → long
├── date → int (optional)
├── device → string (optional)
└── location → string (optional)

Example

UpdateNewBotConnection(
    bot_id=0,
)