- Enclosing class:
- TdApi
Returns information about a message
that is replied by a given message.
Also returns the pinned message, the
game message, the invoice message,
and the topic creation message for
messages of the types messagePinMessage,
messageGameScore, messagePaymentSuccessful,
and topic messages without replied message respectively.
Returns
Message
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat the message belongs to.static final int
long
Identifier of the reply message. -
Constructor Summary
ConstructorDescriptionReturns information about a message that is replied by a given message.GetRepliedMessage
(long chatId, long messageId) Returns information about a message that is replied by a given message.GetRepliedMessage
(DataInput input) Returns information about a message that is replied by a given message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat the message belongs to. -
messageId
public long messageIdIdentifier of the reply message. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetRepliedMessage
public GetRepliedMessage()Returns information about a message that is replied by a given message. Also returns the pinned message, the game message, the invoice message, and the topic creation message for messages of the types messagePinMessage, messageGameScore, messagePaymentSuccessful, and topic messages without replied message respectively. ReturnsMessage
-
GetRepliedMessage
public GetRepliedMessage(long chatId, long messageId) Returns information about a message that is replied by a given message. Also returns the pinned message, the game message, the invoice message, and the topic creation message for messages of the types messagePinMessage, messageGameScore, messagePaymentSuccessful, and topic messages without replied message respectively. ReturnsMessage
- Parameters:
chatId
- long Identifier of the chat the message belongs to.messageId
- long Identifier of the reply message.
-
GetRepliedMessage
Returns information about a message that is replied by a given message. Also returns the pinned message, the game message, the invoice message, and the topic creation message for messages of the types messagePinMessage, messageGameScore, messagePaymentSuccessful, and topic messages without replied message respectively. ReturnsMessage
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-