Class TdApi.MessagePhoto

Enclosing class:
TdApi

public static class TdApi.MessagePhoto
extends TdApi.MessageContent
A photo message.
  • Field Details

    • photo

      public TdApi.Photo photo
      The photo description.
    • caption

      public TdApi.FormattedText caption
      Photo caption.
    • isSecret

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

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • MessagePhoto

      public MessagePhoto()
      A photo message.
    • MessagePhoto

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

      public MessagePhoto​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details