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");
    }
}
Suggest a change
Last updated 02 December 2024