Class: TD::Types::MessageLinkInfo
- Defined in:
- lib/tdlib/types/message_link_info.rb
Overview
Contains information about a link to a message in a chat.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
If found, identifier of the chat to which the message belongs, 0 otherwise.
-
#for_album ⇒ Boolean
True, if the whole media album to which the message belongs is linked.
-
#is_public ⇒ Boolean
True, if the link is a public link for a message in a chat.
-
#message ⇒ TD::Types::Message?
If found, the linked message; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
If found, identifier of the chat to which the message belongs, 0 otherwise.
8 9 10 |
# File 'lib/tdlib/types/message_link_info.rb', line 8 def chat_id @chat_id end |
#for_album ⇒ Boolean
True, if the whole media album to which the message belongs is linked.
8 9 10 |
# File 'lib/tdlib/types/message_link_info.rb', line 8 def for_album @for_album end |
#is_public ⇒ Boolean
True, if the link is a public link for a message in a chat.
8 9 10 |
# File 'lib/tdlib/types/message_link_info.rb', line 8 def is_public @is_public end |
#message ⇒ TD::Types::Message?
If found, the linked message; may be null.
8 9 10 |
# File 'lib/tdlib/types/message_link_info.rb', line 8 def @message end |