Class: TD::Types::MessageLink

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/message_link.rb

Overview

Contains an HTTPS link to a message in a supergroup or channel.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_publicBoolean

True, if the link will work for non-members of the chat.

Returns:

  • (Boolean)

    the current value of is_public



6
7
8
# File 'lib/tdlib/types/message_link.rb', line 6

def is_public
  @is_public
end

Message link.

Returns:

  • (TD::Types::String)

    the current value of link



6
7
8
# File 'lib/tdlib/types/message_link.rb', line 6

def link
  @link
end