Layer 220
ChatFull
Full info about a basic group.
constructor
chatFull#2633421b flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions reactions_limit:flags.20?int = ChatFull;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| CanSetUsername | flags.7?true | Can we change the username of this chat |
| HasScheduled | flags.8?true | Whether scheduled messages are available |
| TranslationsDisabled | flags.19?true | Whether the real-time chat translation popup should be hidden. |
| Id | long | ID of the chat |
| About | string | About string for this chat |
| Participants | ChatParticipants | Participant list |
| ChatPhoto | flags.2?Photo | Chat photo |
| NotifySettings | PeerNotifySettings | Notification settings |
| ExportedInvite | flags.13?ExportedChatInvite | Chat invite |
| BotInfo | Vector<BotInfo> | Info about bots that are in this chat |
| PinnedMsgId | flags.6?int | Message ID of the last pinned message |
| FolderId | flags.11?int | Peer folder ID, for more info click here |
| Call | flags.12?InputGroupCall | Group call information |
| TtlPeriod | flags.14?int | Time-To-Live of messages sent by the current user to this chat |
| GroupcallDefaultJoinAs | flags.15?Peer | When using phone. get Group Call Join As 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. |
| ThemeEmoticon | flags.16?string | Emoji representing a specific chat theme |
| RequestsPending | flags.17?int | Pending join requests |
| RecentRequesters | Vector<long> | IDs of users who requested to join recently |
| AvailableReactions | flags.18?ChatReactions | Allowed message reactions |
| ReactionsLimit | flags.20?int | This flag may be used to impose a custom limit of unique reactions (i. e. a customizable version of app Config. reactions_uniq_max ). |
Returns
ChatFullGogram Example
// Creating ChatFull constructor obj := &tg.ChatFull{ Id: int64(0), About: "...", Participants: &tg.ChatParticipants{}, NotifySettings: &tg.PeerNotifySettings{}, // Optional fields: // CanSetUsername: true, // HasScheduled: true, // TranslationsDisabled: true, // ChatPhoto: &tg.Photo{}, // ... more optional fields }