public static class TdApi.ForwardSource extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the message is sent; 0 if unknown.
|
boolean |
isOutgoing
True, if the message that was forwarded is outgoing; always false if sender is unknown.
|
long |
messageId
Identifier of the message; may be 0 if unknown.
|
TdApi.MessageSender |
senderId
Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.
|
java.lang.String |
senderName
Name of the sender of the message if the sender is hidden by their privacy settings.
|
| Constructor and Description |
|---|
ForwardSource()
Contains information about the last message from which a new message was forwarded last time.
|
ForwardSource(long chatId,
long messageId,
TdApi.MessageSender senderId,
java.lang.String senderName,
int date,
boolean isOutgoing)
Contains information about the last message from which a new message was forwarded last time.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.MessageSender senderId
public java.lang.String senderName
public int date
public boolean isOutgoing
public static final int CONSTRUCTOR
public ForwardSource()
public ForwardSource(long chatId,
long messageId,
TdApi.MessageSender senderId,
java.lang.String senderName,
int date,
boolean isOutgoing)
chatId - Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.messageId - Identifier of the message; may be 0 if unknown.senderId - Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.senderName - Name of the sender of the message if the sender is hidden by their privacy settings.date - Point in time (Unix timestamp) when the message is sent; 0 if unknown.isOutgoing - True, if the message that was forwarded is outgoing; always false if sender is unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object