Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hmchenaran's avatar

How to Get User_id of Telegram by Phone Number in Laravel or Php

Hi. I need access to user_id of telegram by phone number.

Is there a solution to this?

0 likes
4 replies
abrada's avatar
  1. Create a telegram bot
  2. Users use bot, send messages
  3. You must catch ['message']['chat']['id'] from result array
1 like
hmchenaran's avatar

Is there any training on this topic?

How to store user information in the database through the Telegram Bot? Of course in Laravel.

Please or to participate in this conversation.