Class: TD::Types::Update::MessageSendFailed

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/message_send_failed.rb

Overview

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.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#error_codeInteger

An error code.

Returns:

  • (Integer)

    the current value of error_code



10
11
12
# File 'lib/tdlib/types/update/message_send_failed.rb', line 10

def error_code
  @error_code
end

#error_messageTD::Types::String

Error message.

Returns:

  • (TD::Types::String)

    the current value of error_message



10
11
12
# File 'lib/tdlib/types/update/message_send_failed.rb', line 10

def error_message
  @error_message
end

#messageTD::Types::Message

Contains information about the message which failed to send.

Returns:



10
11
12
# File 'lib/tdlib/types/update/message_send_failed.rb', line 10

def message
  @message
end

#old_message_idInteger

The previous temporary message identifier.

Returns:

  • (Integer)

    the current value of old_message_id



10
11
12
# File 'lib/tdlib/types/update/message_send_failed.rb', line 10

def old_message_id
  @old_message_id
end