appleboy/telegram-action

emoji support?

alanhe421 opened this issue · 4 comments

Hey, try putting the star emoji inside your message text, it worked for me.

:star:, come on! --> ⭐, come on!.

Hey, try putting the star emoji inside your message text, it worked for me.

:star:, come on! --> ⭐, come on!.

the format is markdown?

my code is here. but not work.
This is impossible for you.

code see here.

alanhe421/alfred-workflows@c9ed8fd

Hey, try putting the star emoji inside your message text, it worked for me.
:star:, come on! --> ⭐, come on!.

the format is markdown?

my code is here. but not work.
This is impossible for you.

code see here.

alanhg/alfred-workflows@c9ed8fd

See my comment at alanhe421/alfred-workflows@c9ed8fd

I can confirm that emojis are ok, just use the emoji via copy-paste (as mentioned by @MysteriousGear ).
If format: markdown is used, it is not possible to insert an emoji for me.

2023/10/06 09:59:59 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 173

Here is an example to use the emoji:

        with:
          to: ${{ secrets.TELEGRAM_TO }}
          token: ${{ secrets.TELEGRAM_TOKEN }}
          message: |
            ⭐ Update: ${{ github.event.release.name }} (Version ${{ github.ref_name }})