Class: Telegrammer::DataTypes::Sticker
- Defined in:
- lib/telegrammer/data_types/sticker.rb
Overview
Telegram Sticker data type.
See more at core.telegram.org/bots/api#sticker
Instance Attribute Summary collapse
-
#file_id ⇒ String
Unique identifier for this file.
-
#height ⇒ Integer
Sticker height.
-
#thumb ⇒ Telegrammer::DataTypes::PhotoSize
Sticker thumbnail in .webp or .jpg format.
-
#width ⇒ Integer
Sticker width.
Instance Attribute Details
#file_id ⇒ String
Unique identifier for this file
12 13 14 |
# File 'lib/telegrammer/data_types/sticker.rb', line 12 def file_id @file_id end |
#height ⇒ Integer
Sticker height
12 13 14 |
# File 'lib/telegrammer/data_types/sticker.rb', line 12 def height @height end |
#thumb ⇒ Telegrammer::DataTypes::PhotoSize
Sticker thumbnail in .webp or .jpg format
12 13 14 |
# File 'lib/telegrammer/data_types/sticker.rb', line 12 def thumb @thumb end |
#width ⇒ Integer
Sticker width
12 13 14 |
# File 'lib/telegrammer/data_types/sticker.rb', line 12 def width @width end |