Class TdApi.UpdateMessageSendFailed

  • Enclosing class:
    TdApi

    public static class TdApi.UpdateMessageSendFailed
    extends TdApi.Update
    A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update.
    • Field Detail

      • message

        public TdApi.Message message
        Contains information about the message that failed to send.
      • oldMessageId

        public long oldMessageId
        The previous temporary message identifier.
      • errorCode

        public int errorCode
        An error code.
      • errorMessage

        public java.lang.String errorMessage
        Error message.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateMessageSendFailed

        public UpdateMessageSendFailed()
        Default constructor.
      • UpdateMessageSendFailed

        public UpdateMessageSendFailed​(TdApi.Message message,
                                       long oldMessageId,
                                       int errorCode,
                                       java.lang.String errorMessage)
        Constructor for initialization of all fields.
        Parameters:
        message - Contains information about the message that failed to send.
        oldMessageId - The previous temporary message identifier.
        errorCode - An error code.
        errorMessage - Error message.