FactCheck

class pyrogram.raw.types.FactCheck[source]

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

Constructor of FactCheck.

Details:
  • Layer: 229

  • ID: B89BFCCF

Parameters:
  • hash (int 64-bit) – Hash used for caching, for more info click here

  • need_check (bool, optional) – 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 (str, optional) – A two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check should be shown.

  • text (TextWithEntities, optional) – The fact-check.

Functions:

This object can be returned by 1 function.

messages.GetFactCheck

Fetch one or more factchecks, see here » for the full flow.