messages.getChatInviteImporters #

Get info about the users that joined the chat using a specific chat invite

Layer 223

messages.chatInviteImporters#81b6b00a count:int importers:Vector<ChatInviteImporter> users:Vector<User> = messages.ChatInviteImporters;
---functions---
messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true subscription_expired:flags.3?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
requestedflags.0?trueIf set, only returns info about users with pending join requests »
subscription_expiredflags.3?trueSet this flag if the link is a Telegram Star subscription link » and only members with already expired subscription must be returned.
peerInputPeerChat
linkflags.1?stringInvite link
qflags.2?stringSearch for a user in the pending join requests » list: only available when the requested flag is set, cannot be used together with a specific link.
offset_dateintOffsets for pagination, for more info click here
offset_userInputUserUser ID for pagination: if set, offset_date must also be set.
limitintMaximum number of results to return, see pagination

Result #

messages.ChatInviteImporters

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
403CHAT_WRITE_FORBIDDENYou can't write in this chat.
400INVITE_HASH_EXPIREDThe invite link has expired.
400PEER_ID_INVALIDThe provided peer id is invalid.
400SEARCH_WITH_LINK_NOT_SUPPORTEDYou cannot provide a search query and an invite link at the same time.

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.

Telegram Stars #

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

Pagination in the API #

How to fetch results from large lists of objects.