Raw.FactCheck

Raw.FactCheck

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

factCheck#b89bfccf flags:# need_check:flags.0?true country:flags.1?string text:flags.1?TextWithEntities hash:long = FactCheck;
export namespace Raw {
  export class FactCheck {
    constructor(params: {
      needCheck?: boolean;
      country?: string;
      text?: Raw.TypeTextWithEntities;
      hash: bigint;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xb89bfccf

Property

  • needCheck : boolean or undefined

    If 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.

  • country : string or undefined

    A two-letter iso 3166-1 alpha-2 country code of the country for which the fact-check should be shown.

  • text : Raw.TypeTextWithEntities or undefined

    The fact-check.

  • hash : bigint

    Hash used for caching, for more info click here