InvokeWithBusinessConnection#

class pyrogram.raw.functions.InvokeWithBusinessConnection#

Invoke a method using a Telegram Business Bot connection, see here for more info, including a list of the methods that can be wrapped in this constructor. Make sure to always send queries wrapped in a invokeWithBusinessConnection to the datacenter ID, specified in the dc_id field of the botBusinessConnection that is being used.

Details:
  • Layer: 211

  • ID: DD289F8E

Parameters:
connection_id (str):

Business connection ID.

query (Any function from functions):

The actual query.

Returns:

Any object from types