getBusinessConnection¶
Returns: BusinessConnection
- class litegram.methods.get_business_connection.GetBusinessConnection(*, business_connection_id: str, **extra_data: Any)[source]¶
Use this method to get information about the connection of the bot with a business account. Returns a
litegram.types.business_connection.BusinessConnectionobject on success.Source: https://core.telegram.org/bots/api#getbusinessconnection
Usage¶
As bot method¶
result: BusinessConnection = await bot.get_business_connection(...)
Method as object¶
Imports:
from litegram.methods.get_business_connection import GetBusinessConnectionalias:
from litegram.methods import GetBusinessConnection
With specific bot¶
result: BusinessConnection = await bot(GetBusinessConnection(...))