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

Webhooks API calls

answerInlineQuery()

send back the results for an inline query

 Telegraph::answerInlineQuery($inlineQuery->id(), [
    InlineQueryResultPhoto::make($logo->id."-light", "https://logofinder.dev/$logo->id/light.jpg", "https://logofinder.dev/$logo->id/light/thumb.jpg")
        ->caption('Light Logo'),
    InlineQueryResultPhoto::make($logo->id."-dark", "https://logofinder.dev/$logo->id/dark.jpg", "https://logofinder.dev/$logo->id/dark/thumb.jpg")
        ->caption('Dark Logo'),
])->cache(seconds: 600)->send();

replyWebhook()

replies to a webhook callback

Telegraph::replyWebhook($callbackQueryId, 'message received', $showAlert)->send();
Suggest a change
Last updated 22 September 2025