Layer 227
ChatFullObj
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 |
|---|---|---|
| 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 | flags .3? 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 | Active or scheduled video chat associated with this basic group |
| TtlPeriod | flags .14? int | Time-To-Live of messages sent by the current user to this chat |
| GroupcallDefaultJoinAs | flags .15? Peer | Explicitly saved default peer used to join this group's video chat; if absent, the current user is used |
| ThemeEmoticon | flags .16? string | Emoji representing a specific chat theme |
| RequestsPending | flags .17? int | Pending join requests |
| RecentRequesters | flags .17? 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 ChatFullObj constructor obj := &tg.ChatFullObj{ CanSetUsername: nil, HasScheduled: nil, TranslationsDisabled: nil, Id: int64(1234567890), About: "Hello, World!", Participants: &tg.ChatParticipants{}, // ... more required fields }