telegram api method · layer 229 · #df04dd4e

messages.getChatInviteImporters

usable by users

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

definition

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

returns

messages.ChatInviteImporters

errors (9)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
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.
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.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403CHAT_WRITE_FORBIDDENYou can't write in this chat.

history

present in layers 124–229 · constructor id changed 1×

idlayers
#26fb7289124–133
#df04dd4e134–229