Class TdApi.MessagePhoto

    • Field Detail

      • photo

        public TdApi.Photo photo
        The photo description.
      • isSecret

        public boolean isSecret
        True, if the photo must be blurred and must be shown only while tapped.
      • CONSTRUCTOR

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

      • MessagePhoto

        public MessagePhoto()
        A photo message.
      • MessagePhoto

        public MessagePhoto​(TdApi.Photo photo,
                            TdApi.FormattedText caption,
                            boolean isSecret)
        A photo message.
        Parameters:
        photo - The photo description.
        caption - Photo caption.
        isSecret - True, if the photo must be blurred and must be shown only while tapped.