exportdefaultclass BotsTelegramChatModel extends Model {
2
static schema: {
3
/** Unique identifier for this chat. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier. */
4
id: {
5
type: NumberConstructor;
6
};
7
/** Type of chat, can be either “private”, “group”, “supergroup” or “channel” */
8
type: {
9
type: StringConstructor;
10
};
11
/** Username, for private chats, supergroups and channels if available */
12
username: {
13
type: StringConstructor;
14
};
15
/** Title, for supergroups, channels and group chats */