Sha256: 3d16353f7edbad67245d5aea19b780d62de11706618fb7b7d24900d18c532a47
Contents?: true
Size: 867 Bytes
Versions: 4
Compression:
Stored size: 867 Bytes
Contents
module TD::Types # Describes a game. # # @attr id [Integer] Game ID. # @attr short_name [String] Game short name. # To share a game use the URL https://t.me/{bot_username}?game={game_short_name}. # @attr title [String] Game title. # @attr text [TD::Types::FormattedText] Game text, usually containing scoreboards for a game. # @attr description [String] Game description. # @attr photo [TD::Types::Photo] Game photo. # @attr animation [TD::Types::Animation, nil] Game animation; may be null. class Game < Base attribute :id, TD::Types::Integer attribute :short_name, TD::Types::String attribute :title, TD::Types::String attribute :text, TD::Types::FormattedText attribute :description, TD::Types::String attribute :photo, TD::Types::Photo attribute :animation, TD::Types::Animation.optional.default(nil) end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/game.rb |
tdlib-ruby-2.2.0 | lib/tdlib/types/game.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/game.rb |
tdlib-ruby-2.0.0 | lib/tdlib/types/game.rb |