Class: TD::Types::PassportElementError

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/passport_element_error.rb

Overview

Contains the description of an error in a Telegram Passport element.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messageString

Error message.

Returns:

  • (String)

    the current value of message



7
8
9
# File 'lib/tdlib/types/passport_element_error.rb', line 7

def message
  @message
end

#sourceTD::Types::PassportElementErrorSource

Error source.

Returns:



7
8
9
# File 'lib/tdlib/types/passport_element_error.rb', line 7

def source
  @source
end

#typeTD::Types::PassportElementType

Type of the Telegram Passport element which has the error.

Returns:



7
8
9
# File 'lib/tdlib/types/passport_element_error.rb', line 7

def type
  @type
end