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

#errorTD::Types::Error

The cause of the message sending failure.

Returns:



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

def error
  @error
end

#messageTD::Types::Message

The failed to send message.

Returns:



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

def message
  @message
end

#old_message_idInteger

The previous temporary message identifier.

Returns:

  • (Integer)

    the current value of old_message_id



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

def old_message_id
  @old_message_id
end