mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 14:34:39 +01:00
1.4 KiB
1.4 KiB
title | description |
---|---|
stickerSet | stickerSet attributes, type and example |
Constructor: stickerSet
Attributes:
Name | Type | Required |
---|---|---|
installed | Bool | Optional |
archived | Bool | Optional |
official | Bool | Optional |
masks | Bool | Optional |
id | long | Yes |
access_hash | long | Yes |
title | string | Yes |
short_name | string | Yes |
count | int | Yes |
hash | int | Yes |
Type: StickerSet
Example:
$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ];
PWRTelegram json-encoded version:
{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"}
Or, if you're into Lua:
stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, }