Package org.drinkless.tdlib
Class TdApi.InputMessageReplyToMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputMessageReplyTo
org.drinkless.tdlib.TdApi.InputMessageReplyToMessage
- Enclosing class:
TdApi
Describes a message to be replied in the same chat and forum topic.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InputMessageReplyTo
TdApi.InputMessageReplyTo.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionintIdentifier of the checklist task in the message to be replied; pass 0 to reply to the whole message.static final intIdentifier uniquely determining type of the object.longThe identifier of the message to be replied in the same chat and forum topic.Identifier of the poll option in the message to be replied; pass an empty string if none.Quote from the message to be replied; pass null if none. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a message to be replied in the same chat and forum topic.InputMessageReplyToMessage(long messageId, TdApi.InputTextQuote quote, int checklistTaskId, String pollOptionId) Describes a message to be replied in the same chat and forum topic. -
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
-
messageId
public long messageIdThe identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.canBeReplied. -
quote
Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats. -
checklistTaskId
public int checklistTaskIdIdentifier of the checklist task in the message to be replied; pass 0 to reply to the whole message. -
pollOptionId
Identifier of the poll option in the message to be replied; pass an empty string if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputMessageReplyToMessage
public InputMessageReplyToMessage()Describes a message to be replied in the same chat and forum topic. -
InputMessageReplyToMessage
public InputMessageReplyToMessage(long messageId, TdApi.InputTextQuote quote, int checklistTaskId, String pollOptionId) Describes a message to be replied in the same chat and forum topic.- Parameters:
messageId- The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.canBeReplied.quote- Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.checklistTaskId- Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message.pollOptionId- Identifier of the poll option in the message to be replied; pass an empty string if none.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.InputMessageReplyTo- Returns:
- this.CONSTRUCTOR
-