Upload a media to Telegram servers, without actually sending a message anywhere. Useful when File ID is needed.
The difference with uploadFile is that the returned object will act like a message media and contain fields like File ID.
Media to upload
Upload parameters
Optional
Peer to associate this media with.
self
Upload progress callback
Upload a media to Telegram servers, without actually sending a message anywhere. Useful when File ID is needed.
The difference with uploadFile is that the returned object will act like a message media and contain fields like File ID.