haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetChatJoinRequests

Synopsis

Documentation

data GetChatJoinRequests Source #

Returns pending join requests in a chat. Returns ChatJoinRequests

Constructors

GetChatJoinRequests 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • invite_link :: Maybe Text

    Invite link for which to return join requests. If empty, all join requests will be returned. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links

  • query :: Maybe Text

    A query to search for in the first names, last names and usernames of the users to return

  • offset_request :: Maybe ChatJoinRequest

    A chat join request from which to return next requests; pass null to get results from the beginning

  • limit :: Maybe Int

    The maximum number of requests to join the chat to return