import { createJsonPayload } from "https://dotland.deno.dev/x/grammy@v1.31.0/core/payload.ts";
Turns a payload into an options object that can be passed to a fetch
call
by setting the necessary headers and method. May only be called for payloads
P
that let requiresFormDataUpload(P)
return false
.