Sha256: 9a08f4af70de9611c78886405a993a69a2518c27a8d194095d490121fb402522

Contents?: true

Size: 803 Bytes

Versions: 3

Compression:

Stored size: 803 Bytes

Contents

module TD::Types
  # Options to be used when a message content is copied without a link to the original message.
  # Service messages and messageInvoice can't be copied.
  #
  # @attr send_copy [Boolean] True, if content of the message needs to be copied without a link to the original
  #   message.
  #   Always true if the message is forwarded to a secret chat.
  # @attr replace_caption [Boolean] True, if media caption of the message copy needs to be replaced.
  #   Ignored if send_copy is false.
  # @attr new_caption [TD::Types::FormattedText] New message caption.
  #   Ignored if replace_caption is false.
  class MessageCopyOptions < Base
    attribute :send_copy, TD::Types::Bool
    attribute :replace_caption, TD::Types::Bool
    attribute :new_caption, TD::Types::FormattedText
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/message_copy_options.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/message_copy_options.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/message_copy_options.rb