MadelineProto/docs/API_docs/constructors/inputMediaPhoto.md

371 B

Constructor: inputMediaPhoto

Attributes:

Name Type Required
id InputPhoto Required
caption string Required

Type: InputMedia

Example:

$inputMediaPhoto = ['id' => InputPhoto, 'caption' => string, ];