Class ChatJoinRequest

java.lang.Object
io.github.natanimn.telebof.types.updates.ChatJoinRequest
All Implemented Interfaces:
TelegramUpdate

public class ChatJoinRequest extends Object implements TelegramUpdate
Represents a join request sent to a chat.
Since:
3 March 2025
Author:
Natanim
  • Field Details

    • chat

      private Chat chat
      Chat to which the request was sent
    • from

      private User from
      User that sent the join request
    • userChatId

      @SerializedName("user_chat_id") private Long userChatId
      Identifier of a private chat with the user who sent the join request.
    • date

      private Integer date
      Date the request was sent in Unix time
    • bio

      private String bio
      Bio of the user.
  • Constructor Details

    • ChatJoinRequest

      public ChatJoinRequest()
  • Method Details

    • getChat

      public Chat getChat()
    • getFrom

      public User getFrom()
    • getUserChatId

      public Long getUserChatId()
    • getDate

      public Integer getDate()
    • getBio

      public String getBio()
    • getInviteLink

      public ChatInviteLink getInviteLink()
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object