Class: TD::Types::FactCheck

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

Overview

Describes a fact-check added to the message by an independent checker.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#country_codeTD::Types::String

A two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check is shown.

Returns:

  • (TD::Types::String)

    the current value of country_code



7
8
9
# File 'lib/tdlib/types/fact_check.rb', line 7

def country_code
  @country_code
end

#textTD::Types::FormattedText

Text of the fact-check.

Returns:



7
8
9
# File 'lib/tdlib/types/fact_check.rb', line 7

def text
  @text
end