telegram api constructor · layer 229 · #8f34b2f5

botBusinessConnection

Contains info about a bot business connection.

definition

botBusinessConnection#8f34b2f5 flags:# disabled:flags.1?true connection_id:string user_id:long dc_id:int date:int rights:flags.2?BusinessBotRights = BotBusinessConnection;

parameters

nametypedescription
flags#Flags, see TL conditional fields
disabledflags.1?trueWhether this business connection is currently disabled
connection_idstringBusiness connection ID, used to identify messages coming from the connection and to reply to them as specified here ».
user_idlongID of the user that the bot is connected to via this connection.
dc_idintID of the datacenter where to send queries wrapped in a invokeWithBusinessConnection as specified here ».
dateintWhen was the connection created.
rightsflags.2?BusinessBotRightsBusiness bot rights.

type

BotBusinessConnection

history

present in layers 177–229 · constructor id changed 1×

idlayers
#896433b4177–200
#8f34b2f5201–229