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
A forwarded message.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InputMessageContent
TdApi.InputMessageContent.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.longIdentifier for the chat this forwarded message came from.booleanTrue, if a game message is being shared from a launched game; applies only to game messages.longIdentifier of the message to forward. -
Constructor Summary
ConstructorsConstructorDescriptionA forwarded message.InputMessageForwarded(long fromChatId, long messageId, boolean inGameShare, TdApi.MessageCopyOptions copyOptions) A forwarded message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
fromChatId
public long fromChatIdIdentifier for the chat this forwarded message came from. -
messageId
public long messageIdIdentifier of the message to forward. A message can be forwarded only if message.canBeForwarded. -
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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. A message can be forwarded only if message.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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.InputMessageContent- Returns:
- this.CONSTRUCTOR
-