1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 09:27:20 +01:00
MadelineProto/docs/TD_docs/constructors/chatInviteLinkInfo.md

1.7 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, ];

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, }