MadelineProto/docs/TD_docs/constructors/groupFull.md

48 lines
1.2 KiB
Markdown
Raw Normal View History

---
title: groupFull
description: Gives full information about a group
---
## Constructor: groupFull
[Back to constructors index](index.md)
Gives full information about a group
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|group|[group](../types/group.md) | Yes|General info about the group|
|creator\_user\_id|[int](../types/int.md) | Yes|User identifier of the group creator, 0 if unknown|
|members|Array of [chatMember](../constructors/chatMember.md) | Yes|Group members|
|invite\_link|[string](../types/string.md) | Yes|Invite link for this group, available only for group creator and only after it is generated at least once|
### Type: [GroupFull](../types/GroupFull.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$groupFull = ['_' => 'groupFull', 'group' => group, 'creator_user_id' => int, 'members' => [chatMember], 'invite_link' => 'string'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "groupFull", "group": group, "creator_user_id": int, "members": [chatMember], "invite_link": "string"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
groupFull={_='groupFull', group=group, creator_user_id=int, members={chatMember}, invite_link='string'}
```