my.telegram.org sends an ERROR when I want to create an API id/hash in API development tools section

NEW and SIMPLE answer : Just ask the bot father (https://t.me/BotFather) to help you create a new bot and give you the api key . very simple and lovely . (thanks Mr.https://stackoverflow.com/users/5485852/john) go to https://t.me/BotFather type /newbot choose a name for your bot choose a username for your bot Done! it will send you the … Read more

Telegram Bot – how to get a group chat id?

In order to get the group chat id, do as follows: Add the Telegram BOT to the group. Get the list of updates for your BOT: https://api.telegram.org/bot<YourBOTToken>/getUpdates Ex: https://api.telegram.org/bot123456789:jbd78sadvbdy63d37gda37bd8/getUpdates Look for the “chat” object: {“update_id”:8393,”message”:{“message_id”:3,”from”:{“id”:7474,”first_name”:”AAA”},”chat”:{“id”:<group_ID>,”title”:””},”date”:25497,”new_chat_participant”:{“id”:71,”first_name”:”NAME”,”username”:”YOUR_BOT_NAME”}}} This is a sample of the response when you add your BOT into a group. Use the “id” of the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)