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