Skip to content

GramIO API Reference / gramio/dist / TelegramBusinessConnection

Interface: TelegramBusinessConnection

Defined in: @gramio/types/out/objects.d.ts:5574

Describes the connection of the bot with a business account.

Documentation

Properties

PropertyTypeDescriptionDefined in
datenumberDate the connection was established in Unix time@gramio/types/out/objects.d.ts:5590
idstringUnique identifier of the business connection@gramio/types/out/objects.d.ts:5578
is_enabledbooleanTrue, if the connection is active@gramio/types/out/objects.d.ts:5598
rights?TelegramBusinessBotRightsOptional. Rights of the business bot@gramio/types/out/objects.d.ts:5594
userTelegramUserBusiness account user that created the business connection@gramio/types/out/objects.d.ts:5582
user_chat_idnumberIdentifier of a private chat with the user who created the business connection. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.@gramio/types/out/objects.d.ts:5586