Module tdlight.api

Class TdApi.UpdateNewChatJoinRequest

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateNewChatJoinRequest
Enclosing class:
TdApi

public static final class TdApi.UpdateNewChatJoinRequest extends TdApi.Update
A user sent a join request to a chat; for bots only.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • request

      public TdApi.ChatJoinRequest request
      Join request.
    • userChatId

      public long userChatId
      Chat identifier of the private chat with the user.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UpdateNewChatJoinRequest

      public UpdateNewChatJoinRequest()
      A user sent a join request to a chat; for bots only.
    • UpdateNewChatJoinRequest

      public UpdateNewChatJoinRequest(long chatId, TdApi.ChatJoinRequest request, long userChatId, TdApi.ChatInviteLink inviteLink)
      A user sent a join request to a chat; for bots only.
      Parameters:
      chatId - long Chat identifier.
      request - ChatJoinRequest Join request.
      userChatId - long Chat identifier of the private chat with the user.
      inviteLink - ChatInviteLink The invite link, which was used to send join request; may be null.
    • UpdateNewChatJoinRequest

      public UpdateNewChatJoinRequest(DataInput input) throws IOException
      A user sent a join request to a chat; for bots only.
      Throws:
      IOException
  • Method Details