Method UnpackTelegramUpdate(IRouteDefinition)

Assembly: redb.Route.Telegram.dll

Deserializes a raw Telegram webhook JSON body into an object
and populates all — equivalent to a long-polling
exchange.

From(Http.Listen("/tg/webhook"))
.UnpackTelegramUpdate()
.To("direct://tg-dispatch");

public static IRouteDefinition UnpackTelegramUpdate(this IRouteDefinition route)