Class: TD::Types::PublicMessageLink

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

Overview

Contains a public HTTPS link to a message in a public supergroup or channel with a username.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#htmlString

HTML-code for embedding the message.

Returns:

  • (String)

    the current value of html



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

def html
  @html
end

Message link.

Returns:

  • (String)

    the current value of link



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

def link
  @link
end