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 over 5 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 almost 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 5 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 5 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 about 5 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
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 4 years ago
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
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
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