Laravel telegram api integration

  api, bots, laravel, php, telegram

I am having an issue to get a telegram user id using his username. there are few scenarios that I want to know is that possible or not

  1. if we have a username of any user, can we get his/her user id from @userinfobot?
  2. can we receive messages from the user using Bot?
  3. how to hide input option from a bot?
  4. how to add predefined buttons instead of an input field?
  5. also, if a user adds our bot can we programmatically press the join button for him?

it will be a great help if anyone can answer the questions. Thank you.

Source: Laravel

Leave a Reply