Class TdApi.InlineQueryResultPhoto

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String description
      A short description of the result, if known.
      java.lang.String id
      Unique identifier of the query result.
      TdApi.Photo photo
      Photo.
      java.lang.String title
      Title of the result, if known.
    • Field Detail

      • id

        public java.lang.String id
        Unique identifier of the query result.
      • title

        public java.lang.String title
        Title of the result, if known.
      • description

        public java.lang.String description
        A short description of the result, if known.
      • CONSTRUCTOR

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

      • InlineQueryResultPhoto

        public InlineQueryResultPhoto()
        Default constructor.
      • InlineQueryResultPhoto

        public InlineQueryResultPhoto​(java.lang.String id,
                                      TdApi.Photo photo,
                                      java.lang.String title,
                                      java.lang.String description)
        Constructor for initialization of all fields.
        Parameters:
        id - Unique identifier of the query result.
        photo - Photo.
        title - Title of the result, if known.
        description - A short description of the result, if known.