Sha256: 914eaea6de78922711867888334df1694359c7b24bdccc3d461000be4d4a778c

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

module TD::Types
  # A photo message.
  #
  # @attr photo [TD::Types::Photo] Message content.
  # @attr caption [TD::Types::FormattedText] Photo caption.
  # @attr is_secret [Boolean] True, if the photo must be blurred and must be shown only while tapped.
  class MessageContent::Photo < MessageContent
    attribute :photo, TD::Types::Photo
    attribute :caption, TD::Types::FormattedText
    attribute :is_secret, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/message_content/photo.rb
tdlib-ruby-2.1.0 lib/tdlib/types/message_content/photo.rb
tdlib-ruby-2.0.0 lib/tdlib/types/message_content/photo.rb