Package com.jtelegram.api.chat.id
Class StringChatId
- java.lang.Object
-
- com.jtelegram.api.chat.id.StringChatId
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jtelegram.api.chat.id.ChatId
ChatId.Serializer
-
-
Constructor Summary
Constructors Constructor Description StringChatId(java.lang.String chatId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getId()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-