Skip to content

deleteAllRevokedChatInviteLinks

Function · TDLib 1.8.67 · d1085f9c

Deletes all revoked chat invite links created by a given chat administrator. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links

deleteAllRevokedChatInviteLinks(
  chat_id: int53,
  creator_user_id: int53
) → Ok

chat_id

int53

Chat identifier

creator_user_id

int53

User identifier of a chat administrator, which links will be deleted. Must be an identifier of the current user for non-owner