Sha256: 223d4ee5dd25940f36ae7d12996cb661fa4609513e4af397e90c26c8207bb02b

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

module TD::Types
  # A new high score was achieved in a game.
  #
  # @attr title [String, nil] Game title, empty for pinned message.
  # @attr score [Integer] New score, 0 for pinned message.
  # @attr is_pinned [Boolean] True, if the message is a pinned message with the specified content.
  class PushMessageContent::GameScore < PushMessageContent
    attribute :title, TD::Types::String.optional.default(nil)
    attribute :score, TD::Types::Integer
    attribute :is_pinned, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content/game_score.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/game_score.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/game_score.rb