Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 742 Bytes

File metadata and controls

24 lines (18 loc) · 742 Bytes

TelegramBotOpenapi::PassportFile

Properties

Name Type Description Notes
file_id String Identifier for this file, which can be used to download or reuse the file
file_unique_id String Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
file_size Integer File size in bytes
file_date Integer Unix time when the file was uploaded

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::PassportFile.new(
  file_id: null,
  file_unique_id: null,
  file_size: null,
  file_date: null
)