java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageReplyTo
it.tdlight.jni.TdApi.InputMessageReplyToMessage
- Enclosing class:
- TdApi
Describes a message to be replied.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat.static final int
Identifier uniquely determining type of the object.long
The identifier of the message to be replied in the same or the specified chat.Quote from the message to be replied; pass null if none. -
Constructor Summary
ConstructorDescriptionDescribes a message to be replied.InputMessageReplyToMessage
(long chatId, long messageId, TdApi.InputTextQuote quote) Describes a message to be replied.Describes a message to be replied. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdThe identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat. Must always be 0 for replies in secret chats. A message can be replied in another chat or topic only if message.canBeRepliedInAnotherChat. -
messageId
public long messageIdThe identifier of the message to be replied in the same or the specified chat. -
quote
Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats. -
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. -
InputMessageReplyToMessage
Describes a message to be replied.- Parameters:
chatId
- The identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat. Must always be 0 for replies in secret chats. A message can be replied in another chat or topic only if message.canBeRepliedInAnotherChat.messageId
- The identifier of the message to be replied in the same or the specified chat.quote
- Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.
-
InputMessageReplyToMessage
Describes a message to be replied.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-