Telegram Premium emojis + api

107 Views Asked by At

I'm trying to send a premium emoji via Python Telebot

using the entities field and the following code:

ent = MessageEntity('custom_emoji',0,2,custom_emoji_id =  '5460965296690960473')
entities = [ent]
bot.send_message('753786861','',entities=entities)

but I'm not getting the desired result. How can I achieve this?

0

There are 0 best solutions below