Class: TD::Types::MessageLinkInfo
- Defined in:
- lib/tdlib/types/message_link_info.rb
Overview
Contains information about a link to a message or a forum topic in a chat.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
If found, identifier of the chat to which the link points, 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 or a forum topic in a chat.
-
#media_timestamp ⇒ Integer
Timestamp from which the video/audio/video note/voice note/story playing must start, in seconds; 0 if not specified.
-
#message ⇒ TD::Types::Message?
If found, the linked message; may be null.
-
#message_thread_id ⇒ Integer
If found, identifier of the message thread in which to open the message, or a forum topic to open if the message is missing.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
If found, identifier of the chat to which the link points, 0 otherwise.
13 14 15 |
# File 'lib/tdlib/types/message_link_info.rb', line 13 def chat_id @chat_id end |
#for_album ⇒ Boolean
True, if the whole media album to which the message belongs is linked.
13 14 15 |
# File 'lib/tdlib/types/message_link_info.rb', line 13 def for_album @for_album end |
#is_public ⇒ Boolean
True, if the link is a public link for a message or a forum topic in a chat.
13 14 15 |
# File 'lib/tdlib/types/message_link_info.rb', line 13 def is_public @is_public end |
#media_timestamp ⇒ Integer
Timestamp from which the video/audio/video note/voice note/story playing must start, in seconds; 0 if not specified. The media can be in the message content or in its link preview.
13 14 15 |
# File 'lib/tdlib/types/message_link_info.rb', line 13 def @media_timestamp end |
#message ⇒ TD::Types::Message?
If found, the linked message; may be null.
13 14 15 |
# File 'lib/tdlib/types/message_link_info.rb', line 13 def @message end |
#message_thread_id ⇒ Integer
If found, identifier of the message thread in which to open the message, or a forum topic to open if the message is missing.
13 14 15 |
# File 'lib/tdlib/types/message_link_info.rb', line 13 def @message_thread_id end |