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.
|
TdApi.MessageOrigin |
origin
Origin of the forwarded message.
|
java.lang.String |
publicServiceAnnouncementType
The type of public service announcement for the forwarded message.
|
TdApi.ForwardSource |
source
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.
|
| Constructor and Description |
|---|
MessageForwardInfo()
Contains information about a forwarded message.
|
MessageForwardInfo(TdApi.MessageOrigin origin,
int date,
TdApi.ForwardSource source,
java.lang.String publicServiceAnnouncementType)
Contains information about a forwarded message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageOrigin origin
public int date
public TdApi.ForwardSource source
public java.lang.String publicServiceAnnouncementType
public static final int CONSTRUCTOR
public MessageForwardInfo()
public MessageForwardInfo(TdApi.MessageOrigin origin, int date, TdApi.ForwardSource source, java.lang.String publicServiceAnnouncementType)
origin - Origin of the forwarded message.date - Point in time (Unix timestamp) when the message was originally sent.source - For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.publicServiceAnnouncementType - The type of public service announcement for the forwarded message.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object