Sha256: 6dd12594b719e3ecf6c5ba329dc75a764bcdbabf679706ef67c3134ce11b1c3e

Contents?: true

Size: 565 Bytes

Versions: 3

Compression:

Stored size: 565 Bytes

Contents

module TD::Types
  # A photo message.
  #
  # @attr photo [TD::Types::Photo, nil] Message content; may be null.
  # @attr caption [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 & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content/photo.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/photo.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/photo.rb