haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.ProcessChatJoinRequests

Synopsis

Documentation

data ProcessChatJoinRequests Source #

Handles all pending join requests for a given link in a chat. Returns Ok

Constructors

ProcessChatJoinRequests 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • invite_link :: Maybe Text

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

  • approve :: Maybe Bool

    Pass true to approve all requests; pass false to decline them