Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 881 Bytes

PassportElementErrorDataField.md

File metadata and controls

26 lines (20 loc) · 881 Bytes

TelegramBotOpenapi::PassportElementErrorDataField

Properties

Name Type Description Notes
source String Error source, must be data
type String The section of the user's Telegram Passport which has the error, one of "personal_details", "passport", "driver_license", "identity_card", "internal_passport", "address"
field_name String Name of the data field which has the error
data_hash String Base64-encoded data hash
message String Error message

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::PassportElementErrorDataField.new(
  source: null,
  type: null,
  field_name: null,
  data_hash: null,
  message: null
)