Skip to main content

factCheck

Represents a fact-check » created by an independent fact-checker.

type tg.FactCheck struct { /* ... */ }

Fields

NameTypeRequiredDescription
NeedCheckboolIf set, the country/text fields will not be set, and the fact check must be fetched manually by the client (if it isn't already cached with the key specified in hash) using bundled messages.getFactCheck requests, when the message with the factcheck scrolls into view.
CountrystringA two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check should be shown.
TextTextWithEntitiesThe fact-check.
Hashint64yesHash used for caching, for more info click here

Returned by

References