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.
-
#for_comment ⇒ Boolean
True, if the message is linked as a channel post comment or from a message thread.
-
#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.
9 10 11 |
# File 'lib/tdlib/types/message_link_info.rb', line 9 def chat_id @chat_id end |
#for_album ⇒ Boolean
True, if the whole media album to which the message belongs is linked.
9 10 11 |
# File 'lib/tdlib/types/message_link_info.rb', line 9 def for_album @for_album end |
#for_comment ⇒ Boolean
True, if the message is linked as a channel post comment or from a message thread.
9 10 11 |
# File 'lib/tdlib/types/message_link_info.rb', line 9 def for_comment @for_comment end |
#is_public ⇒ Boolean
True, if the link is a public link for a message in a chat.
9 10 11 |
# File 'lib/tdlib/types/message_link_info.rb', line 9 def is_public @is_public end |
#message ⇒ TD::Types::Message?
If found, the linked message; may be null.
9 10 11 |
# File 'lib/tdlib/types/message_link_info.rb', line 9 def @message end |