Module tdlight.api

Class TdApi.ProcessChatJoinRequest

Enclosing class:
TdApi

public static final class TdApi.ProcessChatJoinRequest extends TdApi.Function<TdApi.Ok>
Handles a pending join request in a chat.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • userId

      public long userId
      Identifier of the user that sent the request.
    • approve

      public boolean approve
      True, if the request is approved. Otherwise the request is declived.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ProcessChatJoinRequest

      public ProcessChatJoinRequest()
      Handles a pending join request in a chat.

      Returns Ok

    • ProcessChatJoinRequest

      public ProcessChatJoinRequest(long chatId, long userId, boolean approve)
      Handles a pending join request in a chat.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      userId - long Identifier of the user that sent the request.
      approve - boolean True, if the request is approved. Otherwise the request is declived.
    • ProcessChatJoinRequest

      public ProcessChatJoinRequest(DataInput input) throws IOException
      Handles a pending join request in a chat.

      Returns Ok

      Throws:
      IOException
  • Method Details