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), to the Replies bot chat, 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), to the Replies bot chat, 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.
-
#public_service_announcement_type ⇒ TD::Types::String
The type of a public service announcement for the forwarded message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#date ⇒ Integer
Point in time (Unix timestamp) when the message was originally sent.
14 15 16 |
# File 'lib/tdlib/types/message_forward_info.rb', line 14 def date @date end |
#from_chat_id ⇒ Integer
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel’s discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown.
14 15 16 |
# File 'lib/tdlib/types/message_forward_info.rb', line 14 def from_chat_id @from_chat_id end |
#from_message_id ⇒ Integer
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, 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.
14 15 16 |
# File 'lib/tdlib/types/message_forward_info.rb', line 14 def @from_message_id end |
#origin ⇒ TD::Types::MessageForwardOrigin
Origin of a forwarded message.
14 15 16 |
# File 'lib/tdlib/types/message_forward_info.rb', line 14 def origin @origin end |
#public_service_announcement_type ⇒ TD::Types::String
The type of a public service announcement for the forwarded message.
14 15 16 |
# File 'lib/tdlib/types/message_forward_info.rb', line 14 def public_service_announcement_type @public_service_announcement_type end |