Sha256: 1205d9fef89a2219ee499de8d13cce16627f0b686d799cb440ffb443a046a4a5

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

module TD::Types
  # A new high score was achieved in a game.
  #
  # @attr title [TD::Types::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::Coercible::Integer
    attribute :is_pinned, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/push_message_content/game_score.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/push_message_content/game_score.rb