messages.GetChatInviteImporters
- class pyrogram.raw.functions.messages.GetChatInviteImporters
Get info about the users that joined the chat using a specific chat invite
- Details:
Layer:
223ID:
DF04DD4E
- Parameters:
peer (
InputPeer) – Chatoffset_date (
int32-bit) – Offsets for pagination, for more info click hereoffset_user (
InputUser) – User ID for pagination: if set, offset_date must also be set.limit (
int32-bit) – Maximum number of results to return, see paginationrequested (
bool, optional) – If set, only returns info about users with pending join requests »subscription_expired (
bool, optional) – Set this flag if the link is a Telegram Star subscription link » and only members with already expired subscription must be returned.link (
str, optional) – Invite linkq (
str, optional) – Search 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.
- Returns:
TL Schema
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
Parameter Tree
true (optional)true (optional)InputPeerInputPeerEmptyInputPeerSelfInputPeerChatlongInputPeerUserlonglongInputPeerChannellonglongInputPeerUserFromMessageInputPeerInputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessageInputPeerChannelFromMessageintlongInputPeerInputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessageInputPeerChannelFromMessageintlongstring (optional)string (optional)intInputUserInputUserEmptyInputUserSelfInputUserlonglongInputUserFromMessageInputPeerInputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessageInputPeerChannelFromMessageintlongintExample
await app.invoke(
GetChatInviteImporters(
requested=None,
subscription_expired=None,
peer=await app.resolve_peer(chat_id),
link="text",
q="text",
offset_date=0,
offset_user=await app.resolve_user(chat_id),
limit=0,
)
)