Package it.tdlight.jni
Class TdApi.ChatStatisticsMessageSenderInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatStatisticsMessageSenderInfo
- Enclosing class:
- TdApi
public static class TdApi.ChatStatisticsMessageSenderInfo extends TdApi.Object
Contains statistics about messages
sent by a user.
-
Field Summary
Fields Modifier and Type Field Description int
averageCharacterCount
Average number of characters in sent messages.static int
CONSTRUCTOR
int
sentMessageCount
Number of sent messages.int
userId
User identifier. -
Constructor Summary
Constructors Constructor Description ChatStatisticsMessageSenderInfo()
Contains statistics about messages sent by a user.ChatStatisticsMessageSenderInfo(int userId, int sentMessageCount, int averageCharacterCount)
Contains statistics about messages sent by a user.ChatStatisticsMessageSenderInfo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
userId
public int userIdUser identifier. -
sentMessageCount
public int sentMessageCountNumber of sent messages. -
averageCharacterCount
public int averageCharacterCountAverage number of characters in sent messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatStatisticsMessageSenderInfo
public ChatStatisticsMessageSenderInfo()Contains statistics about messages sent by a user. -
ChatStatisticsMessageSenderInfo
public ChatStatisticsMessageSenderInfo(int userId, int sentMessageCount, int averageCharacterCount)Contains statistics about messages sent by a user.- Parameters:
userId
- int User identifier.sentMessageCount
- int Number of sent messages.averageCharacterCount
- int Average number of characters in sent messages.
-
ChatStatisticsMessageSenderInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-