Class: TD::Types::InternalLinkType::ChatBoost

Inherits:
TD::Types::InternalLinkType show all
Defined in:
lib/tdlib/types/internal_link_type/chat_boost.rb

Overview

The link is a link to boost a Telegram chat. Call getChatBoostLinkInfo with the given URL to process the link. If the chat is found, then call getChatBoostStatus and getAvailableChatBoostSlots to get the current boost status

and check whether the chat can be boosted.

If the user wants to boost the chat and the chat can be boosted, then call boostChat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#urlTD::Types::String

URL to be passed to getChatBoostLinkInfo.

Returns:

  • (TD::Types::String)

    the current value of url



9
10
11
# File 'lib/tdlib/types/internal_link_type/chat_boost.rb', line 9

def url
  @url
end