Open Starli0n opened 7 years ago
@Starli0n I almost have the same problem here. I'm trying to download a list of sticker packs through their shortnames. When calling "client.GetFile" I get the exception saying "LIMIT_INVALID". Here is my code:
var req = new TLRequestGetStickerSet()
{
Stickerset = new TLInputStickerSetShortName() { ShortName = "freddiethefox" },
};
var res = await client.SendRequestAsync<TeleSharp.TL.Messages.TLStickerSet>(req);
var sticker = (TLDocument)res.Documents[0];
var dl = await client.GetFile(new TLInputDocumentFileLocation() { AccessHash =
sticker.AccessHash, Id = sticker.Id, Version = sticker.Version }, sticker.Size);
Hi,
I successfully retrieved messages from user dialogs, channels or groups with different kind of media (photos, videos, audio, links).
I am developing an application to archive all the content of a dialog using your library:
https://github.com/Starli0n/TLArchiver
However, I had difficulty in downloading stickers.
Here is the pseudo code I use:
Then, I tried to download all the set of stickers by doing:
This method above does download stickers but actually they are the default stickers of Telegram :-(
I tried also to download the
TLDocument
fromstickerSet.documents.lists
but it does not work either...I dug into the official documentation and I found those two methods in:
https://core.telegram.org/schema and https://core.telegram.org/schema/json
And I was not able to find those two id
-1373446075
and-1438922648
in the TLSharp library.Therefore I wondered whether the library is up-to-date.
The
TLRequestGetAllStickers
method does exist but with an id equals to479598769
.Do you have any idea about that issue ?
Thanks