messages.EditExportedChatInvite
- class pyrogram.raw.functions.messages.EditExportedChatInvite
Edit an exported chat invite
- Details:
Layer:
223ID:
BDCA2F75
- Parameters:
peer (
InputPeer) – Chatlink (
str) – Invite linkrevoked (
bool, optional) – Whether to revoke the chat inviteexpire_date (
int32-bit, optional) – New expiration dateusage_limit (
int32-bit, optional) – Maximum number of users that can join using this linkrequest_needed (
bool, optional) – Whether admin confirmation is required before admitting each separate user into the chattitle (
str, optional) – Description of the invite link, visible only to administrators
- Returns:
TL Schema
messages.editExportedChatInvite#bdca2f75
flags:#
revoked:flags.2?true
peer:InputPeer
link:string
expire_date:flags.0?int
usage_limit:flags.1?int
request_needed:flags.3?Bool
title:flags.4?string
= messages.ExportedChatInvite
Parameter Tree
EditExportedChatInvite
├── revoked →
true (optional)├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── link →
string├── expire_date →
int (optional)├── usage_limit →
int (optional)├── request_needed →
Bool (optional)└── title →
string (optional)Example
await app.invoke(
EditExportedChatInvite(
revoked=None,
peer=await app.resolve_peer(chat_id),
link="text",
expire_date=0,
usage_limit=0,
request_needed=None,
title="text",
)
)