Raw.BotBusinessConnection
Contains info about a bot business connection.
botBusinessConnection#8f34b2f5 flags:# disabled:flags.1?true connection_id:string user_id:long dc_id:int date:int rights:flags.2?BusinessBotRights = BotBusinessConnection;
export namespace Raw {
export class BotBusinessConnection {
constructor(params: {
disabled?: boolean;
connectionId: string;
userId: bigint;
dcId: number;
date: number;
rights?: Raw.TypeBusinessBotRights;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0x8f34b2f5
Property
disabled
: boolean or undefinedWhether this business connection is currently disabled
connectionId
: stringBusiness connection id, used to identify messages coming from the connection and to reply to them as specified here.
userId
: bigintId of the user that the bot is connected to via this connection.
dcId
: numberId of the datacenter where to send queries wrapped in a invokewithbusinessconnection as specified here.
date
: numberWhen was the connection created.
rights
: Raw.TypeBusinessBotRights or undefined