Class TdApi.PushMessageContentPhoto

Enclosing class:
TdApi

public static class TdApi.PushMessageContentPhoto
extends TdApi.PushMessageContent
A photo message.
  • Field Details

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

    • PushMessageContentPhoto

      public PushMessageContentPhoto()
      A photo message.
    • PushMessageContentPhoto

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

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