Class TdApi.InputPageBlockPhoto

Enclosing class:
TdApi

public static class TdApi.InputPageBlockPhoto extends TdApi.InputPageBlock
A photo.
  • Field Details

    • photo

      public TdApi.InputPhoto photo
      The photo to be sent.
    • caption

      public TdApi.PageBlockCaption caption
      Photo caption; pass null if none.
    • hasSpoiler

      public boolean hasSpoiler
      True, if the photo preview must be covered by a spoiler animation.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InputPageBlockPhoto

      public InputPageBlockPhoto()
      A photo.
    • InputPageBlockPhoto

      public InputPageBlockPhoto(TdApi.InputPhoto photo, TdApi.PageBlockCaption caption, boolean hasSpoiler)
      A photo.
      Parameters:
      photo - The photo to be sent.
      caption - Photo caption; pass null if none.
      hasSpoiler - True, if the photo preview must be covered by a spoiler animation.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR