DEF STUDIO srl

Need help with Laravel and web development?

Hire one of our experts for your projects.

We build tailored products, websites and platforms — with care for UX, performance and maintainability.

Booking open for Q4 — limited slots

Telegraph Facade

In applications that have a single bot writing on a single chat, both will be automatically inferred:

Telegraph::message('hello world')->send();

this will allow a fluent tool for interacting with Telegram:

Telegraph::message('hello world')
    ->keyboard(Keyboard::make()->buttons([
        Button::make("🗑️ Delete")->action("delete")->param('id', $notification->id),  
        Button::make("📖 Mark as Read")->action("read")->param('id', $notification->id),  
        Button::make("👀 Open")->url('https://test.it'),  
        Button::make("📋 Copy to Clipboard")->copyText('https://example.com/share/123'),  
    ])->chunk(2))->send();
Note

Telegraph supports also sending emojis in messages and keyboard button labels 🚀🚀🚀

Suggest a change
Last updated 22 September 2025