Sha256: 21d9fcef0b76ba173da097c6922f48e870e19e0b9f730fd9474dd63d78adcb74
Contents?: true
Size: 911 Bytes
Versions: 2
Compression:
Stored size: 911 Bytes
Contents
module TD::Types # Describes a game. # # @attr id [Integer] Game ID. # @attr short_name [TD::Types::String] Game short name. # To share a game use the URL https://t.me/{bot_username}?game={game_short_name}. # @attr title [TD::Types::String] Game title. # @attr text [TD::Types::FormattedText] Game text, usually containing scoreboards for a game. # @attr description [TD::Types::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::Coercible::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/game.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/game.rb |