Skip to content

GramIO API Reference / gramio/dist / TelegramDirectMessagesTopic

Interface: TelegramDirectMessagesTopic

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

Describes a topic of a direct messages chat.

Documentation

Properties

PropertyTypeDescriptionDefined in
topic_idnumberUnique identifier of the topic. 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:2927
user?TelegramUserOptional. Information about the user that created the topic. Currently, it is always present@gramio/types/out/objects.d.ts:2931