Discussions
Hot to get callback data from telegram bot message
I'm developing a Telegram Bot via PHP and I want users to answer bot question.
For Example:
Bot: What is your name?
User: (Reply)
But I don't know how to process user reply for specific question from bot.
If I receive user reply via webhook, it doesn't contain last bot message, and I don't know what question this reply is.
Webhook has parameter callback_query, but it works only for messages that contains inline keyboard.
Can you help please?
Posted by Andrii 11 months ago
connect my php based website to my telegram account
i was designing this website so that i can post pictures and articles using my telegram app to my website. how can i do that??? i need help i want to use my telegram account as a super admin.
Posted by Fraol Kumera almost 4 years ago
How to create inline URL button in telegram via telegram bot using PHP?
I want to send a message with url button to my telegram channel using telegram bot. I have string
msg = "Hello, Welcome To My Telegram Channel"
imageURL = "https://cdn.pixabay.com/photo/2020/08/11/14/34/greeting-5480092_1280.png"
buttonUrl = "FaceBook - https://facebook.com | YouTube - https://youtube.com | Twitter - https://twitter.com
Instagram - https://instagram.com"
Check this for for accurate question : https://stackoverflow.com/questions/68070839/how-to-create-inline-url-button-in-telegram-via-telegram-bot-using-php
I need only PHP function
Posted by Rahul Deb Bhandari over 1 year ago
please
as your document is full of useful staffs, i was thinking that there would be needed a subject as InlineKeyboardButton. thanks ;)
Posted by ali a2 over 3 years ago
Hot to get callback data from telegram bot message
I'm developing a Telegram Bot via PHP and I want users to answer bot question.
For Example:
Bot: What is your name?
User: (Reply)
But I don't know how to process user reply for specific question from bot.
If I receive user reply via webhook, it doesn't contain last bot message, and I don't know what question this reply is.
Webhook has parameter callback_query, but it works only for messages that contains inline keyboard.
Can you help please?
Posted by Andrii 11 months ago
java
i need to convert the output message to utf-8 as i send the persian sms but it sends something else..
Posted by Nasrin almost 3 years ago
Installation via composer fails
Downloading https://packagist.phpcomposer.com/p/irazasyed/telegram-bot-sdk%243a3dd0869927fd8181763a9ab05491653da39b85308aa73b4bd07756fb66310a.json
Downloading https://packagist.phpcomposer.com/p/irazasyed/telegram-bot-sdk%243a3dd0869927fd8181763a9ab05491653da39b85308aa73b4bd07756fb66310a.json
[Composer\Downloader\TransportException]
The "https://packagist.phpcomposer.com/p/irazasyed/telegram-bot-sdk%243a3dd0869927fd8181763a9ab05491653da39b85308aa73b4bd07756fb66310a.json" fi
le could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Posted by qsir 8 months ago
How to Send a MediaGroup?
How to Send a MediaGroup? I don't know how to do that.
please help me
Posted by [email protected] 8 months ago
hello
i need to get all message id on my bot
user = /hello
bot = hi
i need message user and bot all messages
please helpme
Posted by mohamed 3 months ago