public static class TdApi.InputMessageForwarded extends TdApi.InputMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageCopyOptions |
copyOptions
Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.
|
long |
fromChatId
Identifier for the chat this forwarded message came from.
|
boolean |
inGameShare
True, if a game message is being shared from a launched game; applies only to game messages.
|
long |
messageId
Identifier of the message to forward.
|
| Constructor and Description |
|---|
InputMessageForwarded()
A forwarded message.
|
InputMessageForwarded(long fromChatId,
long messageId,
boolean inGameShare,
TdApi.MessageCopyOptions copyOptions)
A forwarded message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long fromChatId
public long messageId
public boolean inGameShare
public TdApi.MessageCopyOptions copyOptions
public static final int CONSTRUCTOR
public InputMessageForwarded()
public InputMessageForwarded(long fromChatId,
long messageId,
boolean inGameShare,
TdApi.MessageCopyOptions copyOptions)
fromChatId - Identifier for the chat this forwarded message came from.messageId - Identifier of the message to forward. A message can be forwarded only if messageProperties.canBeForwarded.inGameShare - True, if a game message is being shared from a launched game; applies only to game messages.copyOptions - Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object