haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetChatInviteLinks

Synopsis

Documentation

data GetChatInviteLinks Source #

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. Returns ChatInviteLinks

Constructors

GetChatInviteLinks 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • creator_user_id :: Maybe Int

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

  • is_revoked :: Maybe Bool

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

  • offset_date :: Maybe Int

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

  • offset_invite_link :: Maybe Text

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

  • limit :: Maybe Int

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