mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
3.5 KiB
3.5 KiB
title | description | nav_exclude | image |
---|---|---|---|
chatFull | Full info about a basic group. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: chatFull
Full info about a basic group.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_set_username | Bool | Optional | Can we change the username of this chat |
has_scheduled | Bool | Optional | Whether scheduled messages are available |
translations_disabled | Bool | Optional | Whether the real-time chat translation popup should be hidden. |
id | long | Yes | ID of the chat |
about | string | Yes | About string for this chat |
participants | ChatParticipants | Yes | Participant list |
chat_photo | Photo | Optional | Chat photo |
notify_settings | PeerNotifySettings | Yes | Notification settings |
exported_invite | ExportedChatInvite | Optional | Chat invite |
bot_info | Array of BotInfo | Optional | Info about bots that are in this chat |
pinned_msg_id | int | Optional | Message ID of the last pinned message |
folder_id | int | Optional | Peer folder ID, for more info click here |
call | InputGroupCall | Optional | Group call information |
ttl_period | int | Optional | Time-To-Live of messages sent by the current user to this chat |
groupcall_default_join_as | Peer | Optional | 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. |
theme_emoticon | string | Optional | Emoji representing a specific chat theme |
requests_pending | int | Optional | Pending join requests » |
recent_requesters | Array of long | Optional | IDs of users who requested to join recently |
available_reactions | ChatReactions | Optional | Allowed message reactions » |
reactions_limit | int | Optional |
Type: ChatFull
Example:
$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'has_scheduled' => Bool, 'translations_disabled' => Bool, 'id' => long, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int, 'folder_id' => int, 'call' => InputGroupCall, 'ttl_period' => int, 'groupcall_default_join_as' => Peer, 'theme_emoticon' => 'string', 'requests_pending' => int, 'recent_requesters' => [long, long], 'available_reactions' => ChatReactions, 'reactions_limit' => int];