idbigintnotnullcomment' Unique identifier for this chat. 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 signed 64-bit integer or double-precision float type are safe for storing this identifier.',
typetinytextnotnullcomment'Type of chat, can be either “private”, “group”, “supergroup” or “channel”',
titlevarchar(255)nullcomment'Optional. Title, for supergroups, channels and group chats',
usernamevarchar(255)nullcomment'Optional. Username, for private chats, supergroups and channels if available',
first_namevarchar(255)nullcomment'Optional. First name of the other party in a private chat',
last_namevarchar(255)nullcomment'Optional. Last name of the other party in a private chat',
is_forumtinyint(1)default0nullcomment'Optional. True, if the supergroup chat is a forum (has topics enabled)',
updated_timestampbigintdefaultunix_timestamp()notnullcomment'The Unix Timestamp for when this record was last updated',
updated_clientvarchar(36)notnullcomment'The Client UUID that last updated the peer''s metadata',