Class Chat

java.lang.Object
com.pengrad.telegrambot.model.Chat
All Implemented Interfaces:
java.io.Serializable

public class Chat
extends java.lang.Object
implements java.io.Serializable
stas 8/5/15.
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Chat.Type  
  • Constructor Summary

    Constructors 
    Constructor Description
    Chat()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.lang.String firstName()  
    int hashCode()  
    java.lang.Long id()  
    java.lang.Boolean isDirectMessages()  
    java.lang.Boolean isForum()  
    java.lang.String lastName()  
    java.lang.String title()  
    java.lang.String toString()  
    Chat.Type type()  
    java.lang.String username()  

    Methods inherited from class java.lang.Object

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

    • Chat

      public Chat()
  • Method Details

    • id

      public java.lang.Long id()
    • type

      public Chat.Type type()
    • firstName

      public java.lang.String firstName()
    • lastName

      public java.lang.String lastName()
    • username

      public java.lang.String username()
    • isForum

      public java.lang.Boolean isForum()
    • isDirectMessages

      public java.lang.Boolean isDirectMessages()
    • title

      public java.lang.String title()
    • equals

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

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

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