mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 12:46:55 +01:00
1.5 KiB
1.5 KiB
title | description |
---|---|
group | Represents a group of zero or more other users |
Constructor: group
Represents a group of zero or more other users
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | int | Yes | Group identifier |
member_count | int | Yes | Group member count |
status | ChatMemberStatus | Yes | Status of the current user in the group |
anyone_can_edit | Bool | Yes | True, if all members granted editor rights in the group |
is_active | Bool | Yes | True, if group is active |
migrated_to_channel_id | int | Yes | Identifier of channel (supergroup) to which this group was migrated or 0 if none |
Type: Group
Example:
$group = ['_' => 'group', 'id' => int, 'member_count' => int, 'status' => ChatMemberStatus, 'anyone_can_edit' => Bool, 'is_active' => Bool, 'migrated_to_channel_id' => int, ];
PWRTelegram json-encoded version:
{"_":"group","id":"int","member_count":"int","status":"ChatMemberStatus","anyone_can_edit":"Bool","is_active":"Bool","migrated_to_channel_id":"int"}
Or, if you're into Lua:
group={_='group', id=int, member_count=int, status=ChatMemberStatus, anyone_can_edit=Bool, is_active=Bool, migrated_to_channel_id=int, }