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