Class TdApi.TextEntityTypePreCode

  • Enclosing class:
    TdApi

    public static class TdApi.TextEntityTypePreCode
    extends TdApi.TextEntityType
    Text that must be formatted as if inside pre, and code HTML tags.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String language
      Programming language of the code; as defined by the sender.
    • Field Detail

      • language

        public java.lang.String language
        Programming language of the code; as defined by the sender.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TextEntityTypePreCode

        public TextEntityTypePreCode()
        Default constructor.
      • TextEntityTypePreCode

        public TextEntityTypePreCode​(java.lang.String language)
        Constructor for initialization of all fields.
        Parameters:
        language - Programming language of the code; as defined by the sender.