Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
Telegram Client (not Bot) - Get photo URL

I'm currently using the Telegram Client API (not Bot) and I'm looking to get the URL of a photo when shared in a chat.

Many of the Telegram Bot answers on how to get the Photo URL invole getting the file/photo ID and requesting it using:

https://api.telegram.org/bot<token_of_your_bot>/getFile?file_id=<file_id of the picture>

But as a Telegram Client I dont have a bot token, I have instead an Api ID and Hash.

How can I find the URL of the image in Javascript / TS.

Currently using this JS package.

import { TelegramClient } from 'telegram'

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!