Class: Telegram::Bot::Types::EncryptedPassportElement
- Defined in:
- sig/telegram/bot/types/encrypted_passport_element.rbs
Instance Attribute Summary collapse
-
#data ⇒ String?
readonly
Returns the value of attribute data.
-
#email ⇒ String?
readonly
Returns the value of attribute email.
-
#files ⇒ Array[PassportFile]?
readonly
Returns the value of attribute files.
-
#front_side ⇒ PassportFile?
readonly
Returns the value of attribute front_side.
-
#hash ⇒ String
readonly
Returns the value of attribute hash.
-
#phone_number ⇒ String?
readonly
Returns the value of attribute phone_number.
-
#reverse_side ⇒ PassportFile?
readonly
Returns the value of attribute reverse_side.
-
#selfie ⇒ PassportFile?
readonly
Returns the value of attribute selfie.
-
#translation ⇒ Array[PassportFile]?
readonly
Returns the value of attribute translation.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#data ⇒ String? (readonly)
Returns the value of attribute data.
9 10 11 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 9 def data @data end |
#email ⇒ String? (readonly)
Returns the value of attribute email.
11 12 13 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 11 def email @email end |
#files ⇒ Array[PassportFile]? (readonly)
Returns the value of attribute files.
12 13 14 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 12 def files @files end |
#front_side ⇒ PassportFile? (readonly)
Returns the value of attribute front_side.
13 14 15 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 13 def front_side @front_side end |
#hash ⇒ String (readonly)
Returns the value of attribute hash.
17 18 19 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 17 def hash @hash end |
#phone_number ⇒ String? (readonly)
Returns the value of attribute phone_number.
10 11 12 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 10 def phone_number @phone_number end |
#reverse_side ⇒ PassportFile? (readonly)
Returns the value of attribute reverse_side.
14 15 16 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 14 def reverse_side @reverse_side end |
#selfie ⇒ PassportFile? (readonly)
Returns the value of attribute selfie.
15 16 17 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 15 def selfie @selfie end |
#translation ⇒ Array[PassportFile]? (readonly)
Returns the value of attribute translation.
16 17 18 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 16 def translation @translation end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 8 def type @type end |
Class Method Details
.new(type:, data:, phone_number:, email:, files:, front_side:, reverse_side:, selfie:, translation:, hash:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/encrypted_passport_element.rbs', line 6
def self.new: (type: String, ?data: String, ?phone_number: String, ?email: String, ?files: Array[PassportFile], ?front_side: PassportFile, ?reverse_side: PassportFile, ?selfie: PassportFile, ?translation: Array[PassportFile], hash: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|