Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/mod.ts>InputFile#toRaw

The Telegram Bot Framework.
Very Popular
Latest
method InputFile.prototype.toRaw
Re-export
import { InputFile } from "https://deno.land/x/grammy@v1.31.0/mod.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

Promise<Uint8Array | Iterable<Uint8Array> | AsyncIterable<Uint8Array>>