42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.57k stars 616 forks source link

[Telegram->Discord] Allow us to set the sticker size #933

Open ghost opened 4 years ago

ghost commented 4 years ago

Is your feature request related to a problem? Please describe. Currently, stickers sent from Telegram use almost the entire size when rendered in Discord.

Describe the solution you'd like An option to set the size of the telegram stickers or just disable them altogether.

Describe alternatives you've considered

Additional context

TomTheDragon commented 4 years ago

The default size for Telegram stickers is 512x512px, which is really big. It would be really useful to have the option, to reduce them in size. I mean we need to convert them to PNG anyways.

42wim commented 4 years ago

I'm thinking about adding more Tengo scripting to support this kind of feature requests. Instead of making extra configuration switches.