Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 745 Bytes

PassportElementErrorSelfie.md

File metadata and controls

24 lines (18 loc) · 745 Bytes

TelegramBotOpenapi::PassportElementErrorSelfie

Properties

Name Type Description Notes
source String Error source, must be selfie
type String The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
file_hash String Base64-encoded hash of the file with the selfie
message String Error message

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::PassportElementErrorSelfie.new(
  source: null,
  type: null,
  file_hash: null,
  message: null
)