Sha256: 9d1066c7ff1f61c421f3e3001430fb4efd337683085f8689949729afeb954b6d

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 Bytes

Contents

module TD::Types
  # A document message (a general file).
  #
  # @attr document [TD::Types::Document, nil] Message content; may be null.
  # @attr is_pinned [Boolean] True, if the message is a pinned message with the specified content.
  class PushMessageContent::Document < PushMessageContent
    attribute :document, TD::Types::Document.optional.default(nil)
    attribute :is_pinned, TD::Types::Bool
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/push_message_content/document.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/push_message_content/document.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content/document.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/document.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/document.rb