import { Composer } from "https://deno.land/x/grammy@v1.30.1/mod.ts";
Registers middleware for shipping queries. If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, Telegram will send a shipping query to your bot whenever a user has confirmed their shipping details. You bot will then receive the shipping information and can respond with a confirmation of whether delivery to the specified address is possible. Check out https://core.telegram.org/bots/api#shippingquery to read more about shipping queries.
bot.shippingQuery('invoice_payload', async ctx => {
// Answer the shipping query, confer https://core.telegram.org/bots/api#answershippingquery
await ctx.answerShippingQuery( ... )
})