Module tdlight.api

Class TdApi.InlineQueryResultDocument

Enclosing class:
TdApi

public static final class TdApi.InlineQueryResultDocument extends TdApi.InlineQueryResult
Represents a document.
  • Field Details

    • id

      public String id
      Unique identifier of the query result.
    • document

      public TdApi.Document document
      Document.
    • title

      public String title
      Document title.
    • description

      public String description
      Document description.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • InlineQueryResultDocument

      public InlineQueryResultDocument()
      Represents a document.
    • InlineQueryResultDocument

      public InlineQueryResultDocument(String id, TdApi.Document document, String title, String description)
      Represents a document.
      Parameters:
      id - String Unique identifier of the query result.
      document - Document Document.
      title - String Document title.
      description - String Document description.
    • InlineQueryResultDocument

      public InlineQueryResultDocument(DataInput input) throws IOException
      Represents a document.
      Throws:
      IOException
  • Method Details