InputPollMediaPhoto

Properties

fileName?: string

The file name to assign if applicable.

mimeType?: string

The MIME type to assign if applicable.

chunkSize?: number

Size of each upload chunk in bytes.

signal?: AbortSignal

Upload abort signal.

type: "photo"
photo: FileSource

The photo.

width?: number

The width of the photo in pixels.

height?: number

The height of the photo in pixels.

isSpoiler?: boolean

Whether to mark the media as a spoiler.