public static class TdApi.MessageInteractionInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
forwardCount
Number of times the message was forwarded.
|
TdApi.MessageReplyInfo |
replyInfo
Information about direct or indirect replies to the message; may be null.
|
int |
viewCount
Number of times the message was viewed.
|
Constructor and Description |
---|
MessageInteractionInfo()
Contains information about interactions with a message.
|
MessageInteractionInfo(int viewCount,
int forwardCount,
TdApi.MessageReplyInfo replyInfo)
Contains information about interactions with a message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int viewCount
public int forwardCount
@Nullable public TdApi.MessageReplyInfo replyInfo
public static final int CONSTRUCTOR
public MessageInteractionInfo()
public MessageInteractionInfo(int viewCount, int forwardCount, TdApi.MessageReplyInfo replyInfo)
viewCount
- Number of times the message was viewed.forwardCount
- Number of times the message was forwarded.replyInfo
- Information about direct or indirect replies to the message; may be null. Currently, available only in channels with a discussion supergroup and discussion supergroups for messages, which are not replies itself.public int getConstructor()
getConstructor
in class TdApi.Object