java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageReplyTo
it.tdlight.jni.TdApi.MessageReplyToMessage
- Enclosing class:
- TdApi
Describes a replied message.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The identifier of the chat to which the replied message belongs; ignored for outgoing replies.static final int
Identifier uniquely determining type of the object.long
The identifier of the replied message. -
Constructor Summary
ConstructorDescriptionDescribes a replied message.MessageReplyToMessage
(long chatId, long messageId) Describes a replied message.MessageReplyToMessage
(DataInput input) Describes a replied message. -
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 replied message belongs; ignored for outgoing replies. For example, messages in the Replies chat are replies to messages in different chats. -
messageId
public long messageIdThe identifier of the replied message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageReplyToMessage
public MessageReplyToMessage()Describes a replied message. -
MessageReplyToMessage
public MessageReplyToMessage(long chatId, long messageId) Describes a replied message.- Parameters:
chatId
- The identifier of the chat to which the replied message belongs; ignored for outgoing replies. For example, messages in the Replies chat are replies to messages in different chats.messageId
- The identifier of the replied message.
-
MessageReplyToMessage
Describes a replied message.- 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()
-