messages.GetChatInviteImporters

class pyrogram.raw.functions.messages.GetChatInviteImporters

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

Details:
  • Layer: 223

  • ID: DF04DD4E

Parameters:
  • peer (InputPeer) – Chat

  • offset_date (int 32-bit) – Offsets for pagination, for more info click here

  • offset_user (InputUser) – User ID for pagination: if set, offset_date must also be set.

  • limit (int 32-bit) – Maximum number of results to return, see pagination

  • requested (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 link

  • q (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:

messages.ChatInviteImporters

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

GetChatInviteImporters
├── requestedtrue (optional)
├── subscription_expiredtrue (optional)
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── linkstring (optional)
├── qstring (optional)
├── offset_dateint
├── offset_userInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
└── limitint

Example

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