Package it.tdlight.jni
Class TdApi.ChatStatisticsMessageInteractionInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatStatisticsMessageInteractionInfo
- Enclosing class:
- TdApi
public static class TdApi.ChatStatisticsMessageInteractionInfo extends TdApi.Object
Contains statistics about interactions
with a message.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
forwardCount
Number of times the message was forwarded.long
messageId
Message identifier.int
viewCount
Number of times the message was viewed. -
Constructor Summary
Constructors Constructor Description ChatStatisticsMessageInteractionInfo()
Contains statistics about interactions with a message.ChatStatisticsMessageInteractionInfo(long messageId, int viewCount, int forwardCount)
Contains statistics about interactions with a message.ChatStatisticsMessageInteractionInfo(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
-
messageId
public long messageIdMessage identifier. -
viewCount
public int viewCountNumber of times the message was viewed. -
forwardCount
public int forwardCountNumber of times the message was forwarded. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatStatisticsMessageInteractionInfo
public ChatStatisticsMessageInteractionInfo()Contains statistics about interactions with a message. -
ChatStatisticsMessageInteractionInfo
public ChatStatisticsMessageInteractionInfo(long messageId, int viewCount, int forwardCount)Contains statistics about interactions with a message.- Parameters:
messageId
- long Message identifier.viewCount
- int Number of times the message was viewed.forwardCount
- int Number of times the message was forwarded.
-
ChatStatisticsMessageInteractionInfo
- 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()
-