Module tdlight.api

Class TdApi.DeclineChatJoinRequest

Enclosing class:
TdApi

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

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • userId

      public long userId
      Identifier of the user, which request will be declined.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • DeclineChatJoinRequest

      public DeclineChatJoinRequest()
      Declines pending join request in a chat.

      Returns Ok

    • DeclineChatJoinRequest

      public DeclineChatJoinRequest(long chatId, long userId)
      Declines pending join request in a chat.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      userId - long Identifier of the user, which request will be declined.
    • DeclineChatJoinRequest

      public DeclineChatJoinRequest(DataInput input) throws IOException
      Declines pending join request in a chat.

      Returns Ok

      Throws:
      IOException
  • Method Details