Link Search Menu Expand Document

Constructor: inputMediaUploadedPhoto

Back to constructors index

Photo

Attributes:

NameTypeRequiredDescription
spoilerBoolOptional
fileFile path or InputFileYesThe uploaded file
stickersArray of MessageMedia, Message, Update or InputDocumentOptionalAttached mask stickers
ttl_secondsintOptionalTime to live in seconds of self-destructing photo

Type: InputMedia

Example:

$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'spoiler' => Bool, 'file' => InputFile, 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int];