messages.GetExportedChatInvites

class pyrogram.raw.functions.messages.GetExportedChatInvites

Get info about the chat invites of a specific chat

Details:
  • Layer: 223

  • ID: A2B5A3F6

Parameters:
  • peer (InputPeer) – Chat

  • admin_id (InputUser) – Whether to only fetch chat invites from this admin

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

  • revoked (bool, optional) – Whether to fetch revoked chat invites

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

  • offset_link (str, optional) – Offsets for pagination, for more info click here

Returns:

messages.ExportedChatInvites

TL Schema

messages.getExportedChatInvites#a2b5a3f6
flags:#
revoked:flags.3?true
peer:InputPeer
admin_id:InputUser
offset_date:flags.2?int
offset_link:flags.2?string
limit:int

= messages.ExportedChatInvites

Parameter Tree

GetExportedChatInvites
├── revokedtrue (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
├── admin_idInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── offset_dateint (optional)
├── offset_linkstring (optional)
└── limitint

Example

await app.invoke(
    GetExportedChatInvites(
        revoked=None,
        peer=await app.resolve_peer(chat_id),
        admin_id=await app.resolve_user(chat_id),
        offset_date=0,
        offset_link="text",
        limit=0,
    )
)