Package org.drinkless.tdlib
Class TdApi.FactCheck
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.FactCheck
- Enclosing class:
- TdApi
Describes a fact-check added to the message by an independent checker.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier 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
ConstructorsConstructorDescriptionDescribes 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-