Class TdApi.FactCheck

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.FactCheck
Enclosing class:
TdApi

public static class TdApi.FactCheck extends TdApi.Object
Describes a fact-check added to the message by an independent checker.
  • Field Details

    • text

      public TdApi.FormattedText text
      Text of the fact-check.
    • countryCode

      public String 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 CONSTRUCTOR
      Identifier 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

      public FactCheck(TdApi.FormattedText text, String countryCode)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR