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
-
#copy_options ⇒ TD::Types::MessageCopyOptions
Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.
-
#from_chat_id ⇒ Integer
Identifier for the chat this forwarded message came from.
-
#in_game_share ⇒ Boolean
True, if a game message is being shared from a launched game; applies only to game messages.
-
#message_id ⇒ Integer
Identifier of the message to forward.
Method Summary
Methods inherited from Base
Instance Attribute Details
#copy_options ⇒ TD::Types::MessageCopyOptions
Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 11 def @copy_options end |
#from_chat_id ⇒ Integer
Identifier for the chat this forwarded message came from.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 11 def from_chat_id @from_chat_id end |
#in_game_share ⇒ Boolean
True, if a game message is being shared from a launched game; applies only to game messages.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 11 def in_game_share @in_game_share end |
#message_id ⇒ Integer
Identifier of the message to forward. A message can be forwarded only if messageProperties.can_be_forwarded.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 11 def @message_id end |