Class: TD::Types::BusinessChatLink

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

Overview

Contains information about a business chat link.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

The HTTPS link.

Returns:

  • (TD::Types::String)

    the current value of link



8
9
10
# File 'lib/tdlib/types/business_chat_link.rb', line 8

def link
  @link
end

#textTD::Types::FormattedText

Message draft text that will be added to the input field.

Returns:



8
9
10
# File 'lib/tdlib/types/business_chat_link.rb', line 8

def text
  @text
end

#titleTD::Types::String

Link title.

Returns:

  • (TD::Types::String)

    the current value of title



8
9
10
# File 'lib/tdlib/types/business_chat_link.rb', line 8

def title
  @title
end

#view_countInteger

Number of times the link was used.

Returns:

  • (Integer)

    the current value of view_count



8
9
10
# File 'lib/tdlib/types/business_chat_link.rb', line 8

def view_count
  @view_count
end