Class: TD::Types::InputStoryAreaType::Weather

Inherits:
TD::Types::InputStoryAreaType show all
Defined in:
lib/tdlib/types/input_story_area_type/weather.rb

Overview

An area with information about weather.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#background_colorInteger

A color of the area background in the ARGB format.

Returns:

  • (Integer)

    the current value of background_color



7
8
9
# File 'lib/tdlib/types/input_story_area_type/weather.rb', line 7

def background_color
  @background_color
end

#emojiTD::Types::String

Emoji representing the weather.

Returns:

  • (TD::Types::String)

    the current value of emoji



7
8
9
# File 'lib/tdlib/types/input_story_area_type/weather.rb', line 7

def emoji
  @emoji
end

#temperatureFloat

Temperature, in degree Celsius.

Returns:

  • (Float)

    the current value of temperature



7
8
9
# File 'lib/tdlib/types/input_story_area_type/weather.rb', line 7

def temperature
  @temperature
end