Skip to content

getChatInviteLinks

Function · TDLib 1.8.67 · d1085f9c

Returns invite links for a chat created by specified administrator. Requires administrator privileges and can_invite_users right in the chat to get own links and owner privileges to get other links

getChatInviteLinks(
  chat_id: int53,
  creator_user_id: int53,
  is_revoked: Bool,
  offset_date: int32,
  offset_invite_link: string,
  limit: int32
) → ChatInviteLinks

chat_id

int53

Chat identifier

creator_user_id

int53

User identifier of a chat administrator. Must be an identifier of the current user for non-owner

is_revoked

Bool

Pass true if revoked links need to be returned instead of active or expired

offset_date

int32

Creation date of an invite link starting after which to return invite links; use 0 to get results from the beginning

string

Invite link starting after which to return invite links; use empty string to get results from the beginning

limit

int32

The maximum number of invite links to return; up to 100