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
      Pass true to approve the request; pass false to decline it.
    • 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 Pass true to approve the request; pass false to decline it.
    • ProcessChatJoinRequest

      public ProcessChatJoinRequest(DataInput input) throws IOException
      Handles a pending join request in a chat. Returns Ok
      Throws:
      IOException
  • Method Details