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 2 months 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 2 months 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 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 about 2 years ago
sendMediaGroup docs
Greetings, Is there sendMediaGroup function at telegram-bot-sdk ? If yes please add into the docs, it would be good.. thanks.
Posted by Robby about 2 years 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 almost 3 years 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 about 3 years ago
getChatMember
how to check users in my group. I want to check whether users in my group or nor.
Posted by Krishan Bandara over 3 years ago
Inline button with link
I just want to show the button with specific link. I have made search there but i found nothing. How can i implement that?
Posted by Telegram user over 3 years ago
class keyboard
hi
i'm using this sdk, and error : cannot find keyboard class, and me check files and not found this class.
i'm using version 2.0
how can i fix this problem?
Posted by sardary over 4 years ago