Module

x/grammy/types.web.ts>InputFile#toRaw

The Telegram Bot Framework.
Very Popular
Go to Latest
method InputFile.prototype.toRaw
import { InputFile } from "https://dotland.deno.dev/x/grammy@v1.15.2/types.web.ts";

Internal method. Do not use.

Converts this instance into a binary representation that can be sent to the Bot API server in the request body.

Returns

Uint8Array | Iterable<Uint8Array> | AsyncIterable<Uint8Array>