GramIO API Reference / gramio/dist / TelegramBackgroundTypePattern
Interface: TelegramBackgroundTypePattern
Defined in: @gramio/types/out/objects.d.ts:2313
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
| Property | Type | Description | Defined in |
|---|---|---|---|
document | TelegramDocument | Document with the pattern | @gramio/types/out/objects.d.ts:2321 |
fill | TelegramBackgroundFill | The background fill that is combined with the pattern | @gramio/types/out/objects.d.ts:2325 |
intensity | number | Intensity of the pattern when it is shown above the filled background; 0-100 | @gramio/types/out/objects.d.ts:2329 |
is_inverted? | true | Optional. 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 | @gramio/types/out/objects.d.ts:2333 |
is_moving? | true | Optional. True, if the background moves slightly when the device is tilted | @gramio/types/out/objects.d.ts:2337 |
type | "pattern" | Type of the background, always “pattern” | @gramio/types/out/objects.d.ts:2317 |