Sha256: 0c50636f5733dd984b93ad56cd7def31df40f631133c945dc819d54195358c48

Contents?: true

Size: 649 Bytes

Versions: 2

Compression:

Stored size: 649 Bytes

Contents

module TD::Types
  # The message failed to be sent.
  #
  # @attr error_code [Integer] An error code; 0 if unknown.
  # @attr error_message [TD::Types::String] Error message.
  # @attr can_retry [Boolean] True, if the message can be re-sent.
  # @attr retry_after [Float] Time left before the message can be re-sent, in seconds.
  #   No update is sent when this field changes.
  class MessageSendingState::Failed < MessageSendingState
    attribute :error_code, TD::Types::Coercible::Integer
    attribute :error_message, TD::Types::String
    attribute :can_retry, TD::Types::Bool
    attribute :retry_after, TD::Types::Coercible::Float
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/message_sending_state/failed.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/message_sending_state/failed.rb