2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: chatInviteLinkInfo
|
|
|
|
description: Contains information about chat invite link
|
|
|
|
---
|
|
|
|
## Constructor: chatInviteLinkInfo
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Contains information about chat invite link
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|chat\_id|[long](../types/long.md) | Yes|Chat identifier of the invite link or 0 if user is not a member of this chat|
|
|
|
|
|title|[string](../types/string.md) | Yes|Title of the chat|
|
|
|
|
|photo|[chatPhoto](../types/chatPhoto.md) | Yes|Chat photo, nullable|
|
|
|
|
|member\_count|[int](../types/int.md) | Yes|Total member count|
|
|
|
|
|members|Array of [user](../constructors/user.md) | Yes|Some chat members that may be known to the current user|
|
|
|
|
|is\_group|[Bool](../types/Bool.md) | Yes|True, if the chat is a group chat|
|
|
|
|
|is\_channel|[Bool](../types/Bool.md) | Yes|True, if the chat is a channel chat|
|
|
|
|
|is\_public\_channel|[Bool](../types/Bool.md) | Yes|True, if the chat is a channel chat with set up username|
|
|
|
|
|is\_supergroup\_channel|[Bool](../types/Bool.md) | Yes|True, if the chat is a supergroup channel chat|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [ChatInviteLinkInfo](../types/ChatInviteLinkInfo.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2017-07-23 16:33:46 +02:00
|
|
|
$chatInviteLinkInfo = ['_' => 'chatInviteLinkInfo', 'chat_id' => long, 'title' => 'string', 'photo' => chatPhoto, 'member_count' => int, 'members' => [user], 'is_group' => Bool, 'is_channel' => Bool, 'is_public_channel' => Bool, 'is_supergroup_channel' => Bool];
|
2017-03-11 19:54:51 +01:00
|
|
|
```
|
|
|
|
|
2017-07-23 16:11:02 +02:00
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
2017-07-23 16:33:46 +02:00
|
|
|
{"_": "chatInviteLinkInfo", "chat_id": long, "title": "string", "photo": chatPhoto, "member_count": int, "members": [user], "is_group": Bool, "is_channel": Bool, "is_public_channel": Bool, "is_supergroup_channel": Bool}
|
2017-07-23 16:11:02 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
2017-07-23 16:33:46 +02:00
|
|
|
chatInviteLinkInfo={_='chatInviteLinkInfo', chat_id=long, title='string', photo=chatPhoto, member_count=int, members={user}, is_group=Bool, is_channel=Bool, is_public_channel=Bool, is_supergroup_channel=Bool}
|
2017-03-11 19:54:51 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|