media property

  1. @JsonKey.new(name: 'media')
  2. @InputFileConverter()
InputFile get media
inherited

Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. Sending live photos by a URL is currently unsupported.

Implementation

@JsonKey(name: 'media')
@InputFileConverter()
InputFile get media;