Ask a Question
MySQL connection with Telegram bot
Hi, I could not find any good answer using Google. I've made a Telegram bot linked to a webhook itself linked with a MySQL db. I cannot bring to Telegram the results of the queries made to the db. Nothing happen in Telegram. I've tried my connections and my SQL queries work properly in a simple PHP page.
Posted by Mick about 6 years ago
inline button or inline keyboard
hi , i am trying to send a photo with caption to a channel with my bot. i have no trouble with that. but i also want to send an inline button which contains a link to a site . how can i do that? my main question is how to send a button which contains a link to a website with my message? I will be very thankful if you answer my question.
Posted by Mojtaba Taherzadeh over 5 years ago
How to solve UTF8 error for sendMessage method?
Hi. I'm writing my first Telegram bot with PHP SDK . As I am an Iranian, I've used Persian language in my bot for messages that bot sends to user. But because of using Persian letters in message, I get this error: | Bad Request: message text must be encoded in UTF-8 When I change those messages to English for example, the problem does not exist anymore. Do you have any idea?
Posted by Mohammad Saberi almost 6 years ago
Send message to username
Hello, Is possible to use API 2.0 to send messages to a mobile number or via username?
Posted by Marco almost 6 years ago
Updating Messages (editMessageReplyMarkup) methods going to be integrated?
Hi, are the https://core.telegram.org/bots/api#updating-messages methods going to be integrated? For bots it is useful to be able to modify a message (specially the reply markup) once some event happens. Thanks!
Posted by Ruben almost 6 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 4 years ago
please update sdk !
hello new methods are not available in current version (2.0) of SDK (like InlineKeyboardMarkup). when new update will release ? thanks.
Posted by hamed damirchi over 5 years ago
how to check users in my group. I want to check whether users in my group or nor.
Posted by Krishan Bandara over 4 years ago
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 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 about 1 year ago