Package org.drinkless.tdlib
Class TdApi.InputMessageForwarded
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputMessageContent
-
- org.drinkless.tdlib.TdApi.InputMessageForwarded
-
- Enclosing class:
- TdApi
public static class TdApi.InputMessageForwarded extends TdApi.InputMessageContent
A forwarded message.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.MessageCopyOptionscopyOptionsOptions to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.longfromChatIdIdentifier for the chat this forwarded message came from.booleaninGameShareTrue, if a game message is being shared from a launched game; applies only to game messages.longmessageIdIdentifier of the message to forward.
-
Constructor Summary
Constructors Constructor Description InputMessageForwarded()A forwarded message.InputMessageForwarded(long fromChatId, long messageId, boolean inGameShare, TdApi.MessageCopyOptions copyOptions)A forwarded message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
fromChatId
public long fromChatId
Identifier for the chat this forwarded message came from.
-
messageId
public long messageId
Identifier of the message to forward.
-
inGameShare
public boolean inGameShare
True, if a game message is being shared from a launched game; applies only to game messages.
-
copyOptions
public 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.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputMessageForwarded
public InputMessageForwarded()
A forwarded message.
-
InputMessageForwarded
public InputMessageForwarded(long fromChatId, long messageId, boolean inGameShare, TdApi.MessageCopyOptions copyOptions)A forwarded message.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-