MadelineProto/docs/TD_docs/constructors/chatInviteLinkInfo.md
2017-07-23 16:33:46 +02:00

2.0 KiB

title description
chatInviteLinkInfo Contains information about chat invite link

Constructor: chatInviteLinkInfo

Back to constructors index

Contains information about chat invite link

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier of the invite link or 0 if user is not a member of this chat
title string Yes Title of the chat
photo chatPhoto Yes Chat photo, nullable
member_count int Yes Total member count
members Array of user Yes Some chat members that may be known to the current user
is_group Bool Yes True, if the chat is a group chat
is_channel Bool Yes True, if the chat is a channel chat
is_public_channel Bool Yes True, if the chat is a channel chat with set up username
is_supergroup_channel Bool Yes True, if the chat is a supergroup channel chat

Type: ChatInviteLinkInfo

Example:

$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];

PWRTelegram json-encoded version:

{"_": "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}

Or, if you're into Lua:

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}