Constructor: factCheck
Represents a fact-check » created by an independent fact-checker.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| 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 | string | 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. |
| hash | long | Yes | Hash used for caching, for more info click here |
Type: FactCheck
Example:
$factCheck = ['_' => 'factCheck', 'need_check' => Bool, 'country' => 'string', 'text' => TextWithEntities, 'hash' => long];