java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateMessageSendAcknowledged
- Enclosing class:
- TdApi
A request to send a message has reached the Telegram server. This
doesn't mean that the message will be sent successfully or even that
the send message request will be processed. This update will be sent
only if the option "use_quick_ack" is set to true. This
update may be sent multiple times for the same message.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The chat identifier of the sent message.static final int
Identifier uniquely determining type of the object.long
A temporary message identifier. -
Constructor Summary
ConstructorDescriptionA request to send a message has reached the Telegram server.UpdateMessageSendAcknowledged
(long chatId, long messageId) A request to send a message has reached the Telegram server.A request to send a message has reached the Telegram server. -
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 chat identifier of the sent message. -
messageId
public long messageIdA temporary message identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateMessageSendAcknowledged
public UpdateMessageSendAcknowledged()A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully or even that the send message request will be processed. This update will be sent only if the option "use_quick_ack" is set to true. This update may be sent multiple times for the same message. -
UpdateMessageSendAcknowledged
public UpdateMessageSendAcknowledged(long chatId, long messageId) A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully or even that the send message request will be processed. This update will be sent only if the option "use_quick_ack" is set to true. This update may be sent multiple times for the same message.- Parameters:
chatId
- The chat identifier of the sent message.messageId
- A temporary message identifier.
-
UpdateMessageSendAcknowledged
A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully or even that the send message request will be processed. This update will be sent only if the option "use_quick_ack" is set to true. This update may be sent multiple times for the same 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()
-