Class Stats
- java.lang.Object
-
- org.telegram.abilitybots.api.objects.Stats
-
- All Implemented Interfaces:
Serializable
public final class Stats extends Object implements Serializable
Basic POJO to track ability and reply hits. The current implementation is NOT thread safe.- Author:
- Abbas Abou Daya
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatscreateStats(String name, long hits)booleanequals(Object o)inthashCode()voidhit()longhits()Stringname()StringtoString()
-
-
-
Method Detail
-
name
public String name()
-
hits
public long hits()
-
hit
public void hit()
-
-