Class TdApi.InputStoryContentPhoto

Enclosing class:
TdApi

public static class TdApi.InputStoryContentPhoto extends TdApi.InputStoryContent
A photo story.
  • Field Details

    • photo

      public TdApi.InputFile photo
      Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.
    • addedStickerFileIds

      public int[] addedStickerFileIds
      File identifiers of the stickers added to the photo, if applicable.
    • CONSTRUCTOR

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

    • InputStoryContentPhoto

      public InputStoryContentPhoto()
      A photo story.
    • InputStoryContentPhoto

      public InputStoryContentPhoto(TdApi.InputFile photo, int[] addedStickerFileIds)
      A photo story.
      Parameters:
      photo - Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.
      addedStickerFileIds - File identifiers of the stickers added to the photo, if applicable.
  • 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