Class: TD::Types::ChatBoostLinkInfo

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

Overview

Contains information about a link to boost a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Identifier of the chat to which the link points; 0 if the chat isn’t found.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#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/chat_boost_link_info.rb', line 6

def is_public
  @is_public
end