chat

Info about a group

chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int 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 flags.0?true Whether the current user is the creator of the group
kicked flags.1?true Whether the current user was kicked from the group
left flags.2?true Whether the current user has left the group
deactivated flags.5?true Whether the group was migrated
id int ID of the group
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 flags.6?InputChannel Means this chat was upgraded to a supergroup
admin_rights flags.14?ChatAdminRights Admin rights of the user in the group
default_banned_rights flags.18?ChatBannedRights Default banned rights of all users in the group

Type

Chat

Related pages

Channels

How to handle channels, supergroups, groups, and what's the difference between them.

Admin, banned, default rights

How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.