Class: TD::Types::MessageForwardInfo
- Defined in:
- lib/tdlib/types/message_forward_info.rb
Overview
Contains information about a forwarded message.
Instance Attribute Summary collapse
-
#date ⇒ Integer
Point in time (Unix timestamp) when the message was originally sent.
-
#from_chat_id ⇒ Integer
For messages forwarded to the chat with the current user (Saved Messages) or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown.
-
#from_message_id ⇒ Integer
For messages forwarded to the chat with the current user (Saved Messages) or to the channel's discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown.
-
#origin ⇒ TD::Types::MessageForwardOrigin
Origin of a forwarded message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#date ⇒ Integer
Point in time (Unix timestamp) when the message was originally sent.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def date @date end |
#from_chat_id ⇒ Integer
For messages forwarded to the chat with the current user (Saved Messages) or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def from_chat_id @from_chat_id end |
#from_message_id ⇒ Integer
For messages forwarded to the chat with the current user (Saved Messages) or to the channel's discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def end |
#origin ⇒ TD::Types::MessageForwardOrigin
Origin of a forwarded message.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def origin @origin end |