Skip to content

GramIO API Reference / gramio/dist / TelegramBusinessConnection

Interface: TelegramBusinessConnection

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

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:5750
idstringUnique identifier of the business connection@gramio/types/out/objects.d.ts:5738
is_enabledbooleanTrue, if the connection is active@gramio/types/out/objects.d.ts:5758
rights?TelegramBusinessBotRightsOptional. Rights of the business bot@gramio/types/out/objects.d.ts:5754
userTelegramUserBusiness account user that created the business connection@gramio/types/out/objects.d.ts:5742
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:5746