Module tdlight.api

Class TdApi.ProcessChatJoinRequests

Enclosing class:
TdApi

public static final class TdApi.ProcessChatJoinRequests extends TdApi.Function<TdApi.Ok>
Handles all pending join requests for a given link in a chat.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • approve

      public boolean approve
      True, if the requests are approved. Otherwise the requests are declived.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ProcessChatJoinRequests

      public ProcessChatJoinRequests()
      Handles all pending join requests for a given link in a chat.

      Returns Ok

    • ProcessChatJoinRequests

      public ProcessChatJoinRequests(long chatId, String inviteLink, boolean approve)
      Handles all pending join requests for a given link in a chat.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      inviteLink - String Invite link for which to process join requests. If empty, all join requests will be processed. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.
      approve - boolean True, if the requests are approved. Otherwise the requests are declived.
    • ProcessChatJoinRequests

      public ProcessChatJoinRequests(DataInput input) throws IOException
      Handles all pending join requests for a given link in a chat.

      Returns Ok

      Throws:
      IOException
  • Method Details