Class StringChatId

  • All Implemented Interfaces:
    ChatId<java.lang.String>

    public class StringChatId
    extends java.lang.Object
    implements ChatId<java.lang.String>
    • Nested Class Summary

    • 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StringChatId

        public StringChatId​(java.lang.String chatId)
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface ChatId<java.lang.String>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object