Class: TD::Types::InputMessageContent::Forwarded
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::Forwarded
- Defined in:
- lib/tdlib/types/input_message_content/forwarded.rb
Overview
A forwarded message.
Instance Attribute Summary collapse
-
#from_chat_id ⇒ Integer
Identifier for the chat this forwarded message came from.
-
#in_game_share ⇒ Boolean
True, if a game message should be shared within a launched game; applies only to game messages.
-
#message_id ⇒ Integer
Identifier of the message to forward.
-
#remove_caption ⇒ Boolean
True, if media caption of the message copy needs to be removed.
-
#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
#from_chat_id ⇒ Integer
Identifier for the chat this forwarded message came from.
13 14 15 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 13 def from_chat_id @from_chat_id end |
#in_game_share ⇒ Boolean
True, if a game message should be shared within a launched game; applies only to game messages.
13 14 15 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 13 def in_game_share @in_game_share end |
#message_id ⇒ Integer
Identifier of the message to forward.
13 14 15 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 13 def @message_id end |
#remove_caption ⇒ Boolean
True, if media caption of the message copy needs to be removed. Ignored if send_copy is false.
13 14 15 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 13 def remove_caption @remove_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.
13 14 15 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 13 def send_copy @send_copy end |