api.changes.tg/
886 subscribers
2 photos
4 links
@GiftChanges API that is available to everyone!
Download Telegram
placeholder
placeholder
+ add ORIGINALS
GET /original/:giftId - download this gift
/original/:giftId.tgs - download this gift in tgs format (default)
/original/:giftId.json - download this gift in decompressed lottie json format
/original/:giftId.png - download this gift in png format
😁10👍3
hey
😁5
+ add /backdrops
GET /backdrops - list of all gift backdrops sorted by backdropId
6
fun fact: you don't have to GET /models/:gift + GET /backdrops/:gift + GET /symbols/:gift, you can just GET /gift/:gift to get the full gift info all in one request
13💋5
+ add EMOJI
GET /emoji - get giftId<->customEmojiId mapping
👍3
some problems with hosting arose, fixing rn
12👎2
in the nearest few days api.changes.tg may be under maintenance. expect lower uptime and/or possible errors
👎2
the current team behind peek.tg (also called ****) decided that it would be a wise idea to remove any mention of @GiftChanges or our API whatsoever and instead replace it with self-proclaimed "Powered by ****". very ugly and mean of them.

previous version of peek.tg had "Big thanks to @GiftChanges for their API" linking to this channel, and now it's just "we made this, we are the best, thank you for using us". the same happened to the /transfers page, they simply removed any mention of the original developers and API providers and replaced them with their own ****, even though they did nothing to obtain the API or sustain it. as unprofessional and disgusting as possible on their part.
🤬6520🙏14🤯4💯3👍2💋1💘1
Telegram updated every single UFC Strike model's name (source 1, source 2), so if you were using the cached models — it's time to update the cache. All files, including PNG and lottie JSON ones were changed correspondingly to their new names.
🔥32
+ add gift models emoji
GET /emoji/:gift - get customEmojiId mapping for a specific gift

~ add emoji field
GET /gift/:gift - detailed info about a certain gift


Since Bot API has recently allowed usage of custom emoji IDs for every bot, we've updated our API to contain custom emoji IDs for both model emojis and original emojis.

If you have any problems with the newly-added custom emoji IDs (for example, missing model emoji, or incorrect custom emoji ID for a model), please tell us about them in the comments. Thanks!
1
api.changes.tg/
+ add gift models emoji
Also added backdrops and patterns custom emoji IDs. Just for your convenience. Thank me later.
4👍2😁1
+ add size parameter for PNGs
GET /model/:gift/:model.png?size=128 - download this gift model resized to 128x128 (128, 256, 512 available)

GET /symbol/:gift/:symbol.png?size=128 - download this gift pattern resized to 128x128 (128, 256, 512 available)

GET /original/:giftId.png?size=128 - download this gift resized to 128x128 (128, 256, 512 available)


Consider this feature as a beta since I'm not sure if the server will be able to process thousands of resizes. We'll see.
4🔥3🏆3
A little bit of a breaking change: /emoji/:gift and [/gift/:gift].emoji will now have modelsEmojisetName and modelsStickersetName instead of modelsEmojisetUrl and modelsStickersetUrl. Sorry in advance :P
1