Discussions

Ask a Question

inline button or inline keyboard

Hello everyone, I ran into a problem, I can't do a certain action when pressing the button. For example, if you press the A button, a message will be sent, when you press the B button, the values in the SQL database will change. help please

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

How to Send a MediaGroup?

How to Send a MediaGroup? I don't know how to do that. please help me

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

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?

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?

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

java

i need to convert the output message to utf-8 as i send the persian sms but it sends something else..

sendMediaGroup docs

Greetings, Is there sendMediaGroup function at telegram-bot-sdk ? If yes please add into the docs, it would be good.. thanks.

please

as your document is full of useful staffs, i was thinking that there would be needed a subject as InlineKeyboardButton. thanks ;)