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.
-
#origin ⇒ TD::Types::MessageOrigin
Origin of the forwarded message.
-
#public_service_announcement_type ⇒ TD::Types::String
The type of public service announcement for the forwarded message.
-
#source ⇒ TD::Types::ForwardSource?
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel’s discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.
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 |
#origin ⇒ TD::Types::MessageOrigin
Origin of the forwarded message.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def origin @origin end |
#public_service_announcement_type ⇒ TD::Types::String
The type of public service announcement for the forwarded message.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def public_service_announcement_type @public_service_announcement_type end |
#source ⇒ TD::Types::ForwardSource?
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel’s discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.
11 12 13 |
# File 'lib/tdlib/types/message_forward_info.rb', line 11 def source @source end |