Class: TD::Types::MessageCopyOptions
- Defined in:
- lib/tdlib/types/message_copy_options.rb
Overview
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.
Instance Attribute Summary collapse
-
#new_caption ⇒ TD::Types::FormattedText
New message caption.
-
#replace_caption ⇒ Boolean
True, if media caption of the message copy needs to be replaced.
-
#send_copy ⇒ Boolean
True, if content of the message needs to be copied without a link to the original message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#new_caption ⇒ TD::Types::FormattedText
New message caption. Ignored if replace_caption is false.
12 13 14 |
# File 'lib/tdlib/types/message_copy_options.rb', line 12 def @new_caption end |
#replace_caption ⇒ Boolean
True, if media caption of the message copy needs to be replaced. Ignored if send_copy is false.
12 13 14 |
# File 'lib/tdlib/types/message_copy_options.rb', line 12 def @replace_caption end |
#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.
12 13 14 |
# File 'lib/tdlib/types/message_copy_options.rb', line 12 def send_copy @send_copy end |