Class: Telegram::Bot::Types::CallbackGame

Inherits:
Base
  • Object
show all
Defined in:
sig/telegram/bot/types/callback_game.rbs

Instance Attribute Summary

Attributes inherited from Base

#attributes

Class Method Summary collapse

Methods included from Compactable

#to_compact_hash, #to_json

Methods included from PatternMatching

#deconstruct_keys

Class Method Details

.newinstance .new(attributes) ⇒ instance

Overloads:

  • .newinstance

    Returns:

    • (instance)
  • .new(attributes) ⇒ instance

    Parameters:

    • attributes (Hash[Symbol | String, untyped])

    Returns:

    • (instance)


6
7
# File 'sig/telegram/bot/types/callback_game.rbs', line 6

def self.new: () -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance