Skip to content

InputPaidMediaPhoto

The paid media to send is a photo.

Fields

typeString = photoRequired
Type of the media, must be photo
mediaInputFileStringRequired📎 Files
File to send. Pass a file\id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://attach\name>" to upload a new one using multipart/form-data under attach\_name> name. More information on Sending Files »

GramIO Usage

See Also