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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
date | number | Date the connection was established in Unix time | @gramio/types/out/objects.d.ts:5590 |
id | string | Unique identifier of the business connection | @gramio/types/out/objects.d.ts:5578 |
is_enabled | boolean | True, if the connection is active | @gramio/types/out/objects.d.ts:5598 |
rights? | TelegramBusinessBotRights | Optional. Rights of the business bot | @gramio/types/out/objects.d.ts:5594 |
user | TelegramUser | Business account user that created the business connection | @gramio/types/out/objects.d.ts:5582 |
user_chat_id | number | Identifier 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 |