Skip to main content

chatFull

Full info about a basic group. When updating the local peer database », all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).

type tg.ChatFull struct { /* ... */ }

Implements ChatFull.

Fields​

NameTypeRequiredDescription
CanSetUsernamebool—Can we change the username of this chat
HasScheduledbool—Whether scheduled messages are available
TranslationsDisabledbool—Whether the real-time chat translation popup should be hidden.
IDint64yesID of the chat
AboutstringyesAbout string for this chat
ParticipantsChatParticipantsClassyesParticipant list
ChatPhotoPhotoClass—Chat photo
NotifySettingsPeerNotifySettingsyesNotification settings
ExportedInviteExportedChatInviteClass—Chat invite
BotInfo[]BotInfo—Info about bots that are in this chat
PinnedMsgIDint—Message ID of the last pinned message
FolderIDint—Peer folder ID, for more info click here
CallInputGroupCallClass—Group call information
TTLPeriodint—Time-To-Live of messages sent by the current user to this chat
GroupcallDefaultJoinAsPeerClass—When using phone.getGroupCallJoinAs to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.
ThemeEmoticonstring—Emoji representing a specific chat theme
RequestsPendingint—Pending join requests »
RecentRequesters[]int64—IDs of users who requested to join recently
AvailableReactionsChatReactionsClass—Allowed message reactions »
ReactionsLimitint—This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max).

References​