public static class TdApi.InputMessageForwarded extends TdApi.InputMessageContent
TdApi.InputMessageContent.Constructors
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() |
toString
public 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.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()
getConstructor
in class TdApi.InputMessageContent