Class TdApi.PushMessageContentPhoto

    • Field Detail

      • photo

        public TdApi.Photo photo
        Message content; may be null.
      • caption

        public String caption
        Photo caption.
      • isSecret

        public boolean isSecret
        True, if the photo is secret.
      • isPinned

        public boolean isPinned
        True, if the message is a pinned message with the specified content.
      • CONSTRUCTOR

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

      • PushMessageContentPhoto

        public PushMessageContentPhoto()
        A photo message.
      • PushMessageContentPhoto

        public PushMessageContentPhoto​(TdApi.Photo photo,
                                       String caption,
                                       boolean isSecret,
                                       boolean isPinned)
        A photo message.
        Parameters:
        photo - Message content; may be null.
        caption - Photo caption.
        isSecret - True, if the photo is secret.
        isPinned - True, if the message is a pinned message with the specified content.