Module tdlight.api

Class TdApi.UpdateMessageSendSucceeded

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateMessageSendSucceeded
Enclosing class:
TdApi

public static final class TdApi.UpdateMessageSendSucceeded extends TdApi.Update
A message has been successfully sent.
  • Field Details

    • message

      public TdApi.Message message
      The sent message. Usually only the message identifier, date, and content are changed, but almost all other fields can also change.
    • oldMessageId

      public long oldMessageId
      The previous temporary message identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • UpdateMessageSendSucceeded

      public UpdateMessageSendSucceeded()
      A message has been successfully sent.
    • UpdateMessageSendSucceeded

      public UpdateMessageSendSucceeded(TdApi.Message message, long oldMessageId)
      A message has been successfully sent.
      Parameters:
      message - The sent message. Usually only the message identifier, date, and content are changed, but almost all other fields can also change.
      oldMessageId - The previous temporary message identifier.
    • UpdateMessageSendSucceeded

      public UpdateMessageSendSucceeded(DataInput input) throws IOException
      A message has been successfully sent.
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object