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

nametypedescription
flags#Flags, see TL conditional fields
creatorflags.0?trueWhether the current user is the creator of the group
leftflags.2?trueWhether the current user has left the group
deactivatedflags.5?trueWhether the group was migrated
call_activeflags.23?trueWhether a group call is currently active
call_not_emptyflags.24?trueWhether there's anyone in the group call
noforwardsflags.25?trueWhether this group is protected, thus does not allow forwarding messages from it
idlongID of the group, see here » for more info and the available ID range.
titlestringTitle
photoChatPhotoChat photo
participants_countintParticipant count
dateintDate of creation of the group
versionintUsed in basic groups to reorder updates and make sure that all of them were received.
migrated_toflags.6?InputChannelMeans this chat was upgraded to a supergroup
admin_rightsflags.14?ChatAdminRightsAdmin rights of the user in the group
default_banned_rightsflags.18?ChatBannedRightsDefault 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×

idlayers
#6e9c9bc72–23
#d91cdd5446–92
#3bda1bde93–132
#41cbf256133–229