Class: Telegram::Bot::Types::StoryAreaTypeWeather
- Defined in:
- sig/telegram/bot/types/story_area_type_weather.rbs
Instance Attribute Summary collapse
-
#background_color ⇒ Integer
readonly
Returns the value of attribute background_color.
-
#emoji ⇒ String
readonly
Returns the value of attribute emoji.
-
#temperature ⇒ Float
readonly
Returns the value of attribute temperature.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#background_color ⇒ Integer (readonly)
Returns the value of attribute background_color.
11 12 13 |
# File 'sig/telegram/bot/types/story_area_type_weather.rbs', line 11 def background_color @background_color end |
#emoji ⇒ String (readonly)
Returns the value of attribute emoji.
10 11 12 |
# File 'sig/telegram/bot/types/story_area_type_weather.rbs', line 10 def emoji @emoji end |
#temperature ⇒ Float (readonly)
Returns the value of attribute temperature.
9 10 11 |
# File 'sig/telegram/bot/types/story_area_type_weather.rbs', line 9 def temperature @temperature end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/story_area_type_weather.rbs', line 8 def type @type end |
Class Method Details
.new(type:, temperature:, emoji:, background_color:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/story_area_type_weather.rbs', line 6
def self.new: (?type: String, temperature: Float, emoji: String, background_color: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|