amin roshani amin roshani - 1 year ago 233
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download