public static class TdApi.MessageForwardInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the message was originally sent.
|
long |
fromChatId
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown.
|
long |
fromMessageId
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown.
|
TdApi.MessageForwardOrigin |
origin
Origin of a forwarded message.
|
java.lang.String |
publicServiceAnnouncementType
The type of a public service announcement for the forwarded message.
|
Constructor and Description |
---|
MessageForwardInfo()
Contains information about a forwarded message.
|
MessageForwardInfo(TdApi.MessageForwardOrigin origin,
int date,
java.lang.String publicServiceAnnouncementType,
long fromChatId,
long fromMessageId)
Contains information about a forwarded message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.MessageForwardOrigin origin
public int date
public java.lang.String publicServiceAnnouncementType
public long fromChatId
public long fromMessageId
public static final int CONSTRUCTOR
public MessageForwardInfo()
public MessageForwardInfo(TdApi.MessageForwardOrigin origin, int date, java.lang.String publicServiceAnnouncementType, long fromChatId, long fromMessageId)
origin
- Origin of a forwarded message.date
- Point in time (Unix timestamp) when the message was originally sent.publicServiceAnnouncementType
- The type of a public service announcement for the forwarded message.fromChatId
- For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown.fromMessageId
- For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown.public int getConstructor()
getConstructor
in class TdApi.Object