Class: TD::Types::InputStoryAreaType::Weather
- Inherits:
-
TD::Types::InputStoryAreaType
- Object
- Dry::Struct
- Base
- TD::Types::InputStoryAreaType
- TD::Types::InputStoryAreaType::Weather
- Defined in:
- lib/tdlib/types/input_story_area_type/weather.rb
Overview
An area with information about weather.
Instance Attribute Summary collapse
-
#background_color ⇒ Integer
A color of the area background in the ARGB format.
-
#emoji ⇒ TD::Types::String
Emoji representing the weather.
-
#temperature ⇒ Float
Temperature, in degree Celsius.
Method Summary
Methods inherited from Base
Instance Attribute Details
#background_color ⇒ Integer
A color of the area background in the ARGB format.
7 8 9 |
# File 'lib/tdlib/types/input_story_area_type/weather.rb', line 7 def background_color @background_color end |
#emoji ⇒ TD::Types::String
Emoji representing the weather.
7 8 9 |
# File 'lib/tdlib/types/input_story_area_type/weather.rb', line 7 def emoji @emoji end |
#temperature ⇒ Float
Temperature, in degree Celsius.
7 8 9 |
# File 'lib/tdlib/types/input_story_area_type/weather.rb', line 7 def temperature @temperature end |