import { type BackgroundTypePattern } from "https://deno.land/x/grammy@v1.31.3/types.web.ts";
The background is a PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.
Properties
document: Document
Document with the pattern
fill: BackgroundFill
The background fill that is combined with the pattern
True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only