Class TdApi.GetTextEntities

  • Enclosing class:
    TdApi

    public static class TdApi.GetTextEntities
    extends TdApi.Function
    Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) contained in the text. Can be called synchronously.

    Returns TextEntities

    • Field Detail

      • text

        public String text
        The text in which to look for entites.
      • CONSTRUCTOR

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

      • GetTextEntities

        public GetTextEntities()
        Default constructor for a function, which returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) contained in the text. Can be called synchronously.

        Returns TextEntities

      • GetTextEntities

        public GetTextEntities​(String text)
        Creates a function, which returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) contained in the text. Can be called synchronously.

        Returns TextEntities

        Parameters:
        text - The text in which to look for entites.