Class: TD::Types::ForwardSource
- Defined in:
- lib/tdlib/types/forward_source.rb
Overview
Contains information about the last message from which a new message was forwarded last time.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.
-
#date ⇒ Integer
Point in time (Unix timestamp) when the message is sent; 0 if unknown.
-
#is_outgoing ⇒ Boolean
True, if the message that was forwarded is outgoing; always false if sender is unknown.
-
#message_id ⇒ Integer
Identifier of the message; may be 0 if unknown.
-
#sender_id ⇒ TD::Types::MessageSender?
Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.
-
#sender_name ⇒ TD::Types::String
Name of the sender of the message if the sender is hidden by their privacy settings.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.
13 14 15 |
# File 'lib/tdlib/types/forward_source.rb', line 13 def chat_id @chat_id end |
#date ⇒ Integer
Point in time (Unix timestamp) when the message is sent; 0 if unknown.
13 14 15 |
# File 'lib/tdlib/types/forward_source.rb', line 13 def date @date end |
#is_outgoing ⇒ Boolean
True, if the message that was forwarded is outgoing; always false if sender is unknown.
13 14 15 |
# File 'lib/tdlib/types/forward_source.rb', line 13 def is_outgoing @is_outgoing end |
#message_id ⇒ Integer
Identifier of the message; may be 0 if unknown.
13 14 15 |
# File 'lib/tdlib/types/forward_source.rb', line 13 def end |
#sender_id ⇒ TD::Types::MessageSender?
Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.
13 14 15 |
# File 'lib/tdlib/types/forward_source.rb', line 13 def sender_id @sender_id end |
#sender_name ⇒ TD::Types::String
Name of the sender of the message if the sender is hidden by their privacy settings.
13 14 15 |
# File 'lib/tdlib/types/forward_source.rb', line 13 def sender_name @sender_name end |