DEF STUDIO srl

Reply To A Callback Query

A visual feedback can be returned to the chat as a tooltip with the ->reply() method:

class CustomWebhookHandler extends WebhookHandler
{
    public function dismiss(){
        //...

        $this->reply("Notification dismissed");
    }
}
Edit this page
Last updated 26 April 2024