Sha256: d3b57459eb412a93e78305161ec70a5274813fd1adab659ae58326e515aa96e6

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

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