Class: TD::Types::InputPassportElementError

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

Overview

Contains the description of an error in a Telegram Passport element; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messageTD::Types::String

Error message.

Returns:

  • (TD::Types::String)

    the current value of message



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

def message
  @message
end

#sourceTD::Types::InputPassportElementErrorSource

Error source.

Returns:



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

def source
  @source
end

#typeTD::Types::PassportElementType

Type of Telegram Passport element that has the error.

Returns:



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

def type
  @type
end