Sha256: 708d2be8f96302eeba35e3a8d8c32d99fbf48924eb6685af0b729a1f7768361f

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

module TD::Types
  # A message with a game.
  #
  # @attr title [TD::Types::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

2 entries across 2 versions & 1 rubygems

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