amin roshani amin roshani - 3 months ago 27
PHP Question

Contact us button in php telegram bot

I created a button in my telegram bot named "contact us". How can I get the member's message after pressing "contact us" button ?

Answer

Every message that user type and sends, your bot receives it. But if your question is how your bot can recognize that user press specific key "contact us", answer is this: When someone touch that button, its caption (text) field will send automatically to your bot e.g. "contact us" string will send automatically to your bot.

Comments