0

I am getting messages from a telegram channel via messages.getHistory. The result is messages.channelMessages which contains a list(Vector) of message. Each message can have a messageMedia attached to it which mainly are messageMediaDocument. The document also has a unique document id that is referring to a file such as a video or audio. I am wondering if there is any way to get the file id or file URL of that document on the telegram server. If that is not possible, how can I access that document (which can be video, audio and etc.) somehow?

Soheil
  • 1,201
  • 2
  • 11
  • 18

0 Answers0