Class TdApi.FactCheck
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.FactCheck
- Enclosing class:
- TdApi
Describes a fact-check added to the message by an independent checker.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.A two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check is shown.Text of the fact-check. -
Constructor Summary
ConstructorDescriptionDescribes a fact-check added to the message by an independent checker.FactCheck
(TdApi.FormattedText text, String countryCode) Describes a fact-check added to the message by an independent checker. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FactCheck
public FactCheck()Describes a fact-check added to the message by an independent checker. -
FactCheck
Describes a fact-check added to the message by an independent checker.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-