public static class TdApi.FactCheck extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
countryCode
A two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check is shown.
|
TdApi.FormattedText |
text
Text of the fact-check.
|
| Constructor and Description |
|---|
FactCheck()
Describes a fact-check added to the message by an independent checker.
|
FactCheck(TdApi.FormattedText text,
java.lang.String countryCode)
Describes a fact-check added to the message by an independent checker.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.FormattedText text
public java.lang.String countryCode
public static final int CONSTRUCTOR
public FactCheck()
public FactCheck(TdApi.FormattedText text, java.lang.String countryCode)
text - Text of the fact-check.countryCode - A two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check is shown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object