Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Help send custom emoji#3375

AnsweredbyPoolitzer
jekeam asked this question inQ&A
Nov 20, 2022· 8 comments· 22 replies
Discussion options

I'm trying to send custom emoji:

.send_message(        chat_id=chat_id,        text="😎hello from your telegram bot",        entities=[            MessageEntity(                type=Sticker.CUSTOM_EMOJI,                offset=0,                length=2,                custom_emoji_id="6046140249875156202",            )]    )

Why doesn't it work? the answer does not contain "entities", please tell me:

{  "chat": {    "id": ...,    "type": <ChatType.PRIVATE>,    "first_name": "...."  },  "text": "😎hello from your telegram bot",  "group_chat_created": false,  "entities": [],  "new_chat_membeoup_chat_created": false,  "photo": [],  "channel_chat_created": false,  "from": {rs": [],  "new_chat_photo": [],  "message_id": ....,  "delete_chat_photo": false,  "caption_entities": [],  "date": ....,  "supergroup_chat_created": false,  "photo": [],  "channel_chat_created": false,  "from": {    "is_bot": true,    "username": "....",    "first_name": ".",..    "id": ..  }}

I will also be very grateful for an example of how to send premium animated emojis, for example:https://t.me/addemoji/WeatherEmoji

You must be logged in to vote

You can not send them with a bot account as of now

Replies: 8 comments 22 replies

Comment options

You can not send them with a bot account as of now

You must be logged in to vote
9 replies
@Poolitzer
Comment options

yes premium bots can now

@BrokedTV
Comment options

can you share more informations about it? I would love to understand how to use custom emoji

@SsNiPeR1
Comment options

You can buy a username on Fragment, pay 5000 TON to make it assignable to a bot, and bot will be able to use Premium emoji.

@dotnetstar82
Comment options

SsNiPeR1, Could you please tell me more explanations?
If i purchase username on Fragment via my telegram, the bot which was created by my telegram will use custom emoji?
So.. the bot owner's telegram username should be one of the listing of Fragment to use custom emoji?

@SsNiPeR1
Comment options

Any bot that is assigned with an NFT username is able to send Premium emoji. It doesn't matter who owns the username or the bot. And btw you don't purchase these usernames with your Telegram account, you purchase them with your TON wallet.

Answer selected byjekeam
Comment options

So, you mean that we cannot avoid paying 5,000 TON fee for custom emoji usefor telegram bot?[image: image.png]
On Fri, Aug 11, 2023 at 5:24 AM SsNiPeR1 ***@***.***> wrote: Any bot that is assigned with an NFT username is able to send Premium emoji. It doesn't matter who owns the username or the bot. And btw you don't purchase these usernames with your Telegram account, you purchase them with your TON wallet. — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDBRTRMBJ3P3PE554TLXUU7RHANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6695767 @github.com>
You must be logged in to vote
5 replies
@jekeam
Comment options

Username for bots New
You can now upgrade collectible usernames to assign them to Telegram bots.
To upgrade, assign the username to a bot and pay a one-time fee of 5,000 per username.
Usernames will remain upgraded even if they change owners. More info:

https://fragment.com/my/assets

as I understand it, emojis are also included there, but I didn't find any details

@SsNiPeR1
Comment options

Yes, they don't mention custom emojis there, but they're included

@Pop478
Comment options

I saw in the Telegram API documentation that 'Custom emoji entities can only be used by bots that purchased additional usernames on Fragment.' If I purchase a username on Fragment for 20 TON, will I be able to send custom emoji with my bot? Also, where does the 5000 TON price for a username come from if there are cheaper usernames available?

@SsNiPeR1
Comment options

I saw in the Telegram API documentation that 'Custom emoji entities can only be used by bots that purchased additional usernames on Fragment.' If I purchase a username on Fragment for 20 TON, will I be able to send custom emoji with my bot? Also, where does the 5000 TON price for a username come from if there are cheaper usernames available?

Go try to assign the username to a bot, Fragment will tell you it has to be upgraded first.

@Pop478
Comment options

And then you need to pay 5000 TON?

Comment options

So do you know how to use custom emoji in Telegram bot? Can you guide me?
On Fri, Aug 11, 2023 at 5:52 AM SsNiPeR1 ***@***.***> wrote: Yes, they don't mention custom emojis there, but they're included — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDF7763MZM4QEXRE5KLXUYFIHANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6700409 @github.com>
You must be logged in to vote
1 reply
@SsNiPeR1
Comment options

Do I look like I have 7 grand?

Comment options

SUre thing
On Fri, Aug 11, 2023 at 6:44 AM SsNiPeR1 ***@***.***> wrote: Do I look like I have 7 grand? — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDCQPUC2WLKUGTIVTBTXUYLJFANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6700854 @github.com>
You must be logged in to vote
1 reply
@SsNiPeR1
Comment options

Do not suggest answers, reply to already existing answers please

Comment options

It works!
On Fri, Aug 11, 2023 at 7:11 AM SsNiPeR1 ***@***.***> wrote: Do not suggest answers, reply to already existing answers please — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDA5JU4LWQTN77BICVTXUYOPHANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6701054 @github.com>
You must be logged in to vote
2 replies
@SsNiPeR1
Comment options

What works

@Cuong240520
Comment options

Can you guide me. Give me some ideas or step to perform

Comment options

custom emoji in telegram bot
On Fri, Aug 11, 2023 at 11:35 PM SsNiPeR1 ***@***.***> wrote: What works — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDBKMN5ABCMU7WNW5ELXUY7MLANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6702498 @github.com>
You must be logged in to vote
1 reply
@SsNiPeR1
Comment options

did you check it lmao

Comment options

That mean I paid 5,000 TON to assign collectible username to my bots.So my bot can send custom emoji right now
On Sat, Aug 12, 2023 at 7:26 AM SsNiPeR1 ***@***.***> wrote: did you check it lmao — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDE55XDCQ55Z77MPBC3XU2WRRANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6706022 @github.com>
You must be logged in to vote
1 reply
@SsNiPeR1
Comment options

bro is a millionaire fr

Comment options

To earn huge money, we need to invest such a small thing
On Sat, Aug 12, 2023 at 6:13 PM SsNiPeR1 ***@***.***> wrote: bro is a millionaire fr — Reply to this email directly, view it on GitHub <#3375 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3XTYDCEPUJ6MP4IIQLLEBTXU5CK7ANCNFSM6AAAAAASF2ISV4> . You are receiving this because you commented.Message ID: <python-telegram-bot/python-telegram-bot/repo-discussions/3375/comments/6707888 @github.com>
You must be logged in to vote
2 replies
@SsNiPeR1
Comment options

if you have some spare TON send to EQBeXBBgd1Vn-V58QZjX-bhJevvu3rh2Bb320ACrYYsWIqgC

@AsenOsen
Comment options

posted?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
9 participants
@jekeam@AsenOsen@BrokedTV@Poolitzer@SsNiPeR1@clot27@Cuong240520@dotnetstar82@Pop478

[8]ページ先頭

©2009-2025 Movatter.jp