Sha256: a01c6a0630c55aa442fa14ad6301fa66ec703ccb763abe41cc49c8867945bd1a

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

module TD::Types
  # A message with a game.
  #
  # @attr title [String, nil] Game title, empty for pinned game message.
  # @attr is_pinned [Boolean] True, if the message is a pinned message with the specified content.
  class PushMessageContent::Game < PushMessageContent
    attribute :title, TD::Types::String.optional.default(nil)
    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.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/game.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/game.rb