telegram api constructor · layer 229 · #41cbf256
chat
Info about a group.
definition
chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
creator | true | Whether the current user is the creator of the group |
left | true | Whether the current user has left the group |
deactivated | true | Whether the group was migrated |
call_active | true | Whether a group call is currently active |
call_not_empty | true | Whether there's anyone in the group call |
noforwards | true | Whether this group is protected, thus does not allow forwarding messages from it |
id | long | ID of the group, see here » for more info and the available ID range. |
title | string | Title |
photo | ChatPhoto | Chat photo |
participants_count | int | Participant count |
date | int | Date of creation of the group |
version | int | Used in basic groups to reorder updates and make sure that all of them were received. |
migrated_to | InputChannel | Means this chat was upgraded to a supergroup |
admin_rights | ChatAdminRights | Admin rights of the user in the group |
default_banned_rights | ChatBannedRights | Default banned rights of all users in the group |
type
Chat · other constructors: chatEmpty, chatForbidden, channel, channelForbidden, communityForbidden, community
history
present in layers 2–229 · constructor id changed 3×
| id | layers |
|---|---|
| #6e9c9bc7 | 2–23 |
| #d91cdd54 | 46–92 |
| #3bda1bde | 93–132 |
| #41cbf256 | 133–229 |