Class TdApi.MessagePhoto

    • Field Detail

      • 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()
        Default constructor.
      • MessagePhoto

        public MessagePhoto​(TdApi.Photo photo,
                            TdApi.FormattedText caption,
                            boolean isSecret)
        Constructor for initialization of all fields.
        Parameters:
        photo - Message content.
        caption - Photo caption.
        isSecret - True, if the photo must be blurred and must be shown only while tapped.