java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatStatisticsMessageSenderInfo
- Enclosing class:
- TdApi
Contains statistics about messages sent by a user.
-
Field Summary
Modifier and TypeFieldDescriptionint
Average number of characters in sent messages; 0 if unknown.static final int
Identifier uniquely determining type of the object.int
Number of sent messages.long
User identifier. -
Constructor Summary
ConstructorDescriptionContains statistics about messages sent by a user.ChatStatisticsMessageSenderInfo
(long userId, int sentMessageCount, int averageCharacterCount) Contains statistics about messages sent by a user.Contains statistics about messages sent by a user. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
userId
public long userIdUser identifier. -
sentMessageCount
public int sentMessageCountNumber of sent messages. -
averageCharacterCount
public int averageCharacterCountAverage number of characters in sent messages; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatStatisticsMessageSenderInfo
public ChatStatisticsMessageSenderInfo()Contains statistics about messages sent by a user. -
ChatStatisticsMessageSenderInfo
public ChatStatisticsMessageSenderInfo(long userId, int sentMessageCount, int averageCharacterCount) Contains statistics about messages sent by a user.- Parameters:
userId
- User identifier.sentMessageCount
- Number of sent messages.averageCharacterCount
- Average number of characters in sent messages; 0 if unknown.
-
ChatStatisticsMessageSenderInfo
Contains statistics about messages sent by a user.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-