Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 786 Bytes

PhotoSize.md

File metadata and controls

26 lines (20 loc) · 786 Bytes

TelegramBotOpenapi::PhotoSize

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.
width Integer Photo width
height Integer Photo height
file_size Integer Optional. File size in bytes [optional]

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::PhotoSize.new(
  file_id: null,
  file_unique_id: null,
  width: null,
  height: null,
  file_size: null
)