Class: Telegram::Bot::Types::PassportData
- Defined in:
- sig/telegram/bot/types/passport_data.rbs
Instance Attribute Summary collapse
-
#credentials ⇒ EncryptedCredentials
readonly
Returns the value of attribute credentials.
-
#data ⇒ Array[EncryptedPassportElement]
readonly
Returns the value of attribute data.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#credentials ⇒ EncryptedCredentials (readonly)
Returns the value of attribute credentials.
9 10 11 |
# File 'sig/telegram/bot/types/passport_data.rbs', line 9 def credentials @credentials end |
#data ⇒ Array[EncryptedPassportElement] (readonly)
Returns the value of attribute data.
8 9 10 |
# File 'sig/telegram/bot/types/passport_data.rbs', line 8 def data @data end |
Class Method Details
.new(data:, credentials:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/passport_data.rbs', line 6
def self.new: (data: Array[EncryptedPassportElement], credentials: EncryptedCredentials) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|