Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding EMOJI support to Apprise - ?emojis=yes to URL and --emojis for CLI #649

Closed
neema80 opened this issue Aug 15, 2022 · 5 comments
Closed

Comments

@neema80
Copy link

neema80 commented Aug 15, 2022

💡 The Idea

Passing UNICODE would be nice to allow using emojis.

🔨 Breaking Feature

just making the app parse the message and in case of finding a UNICODE it could convert it to EMOJI's or maybe if using markdown as the format then the structure of :emoji: should be converted to the format that telegram understands.

@neema80
Copy link
Author

neema80 commented Aug 15, 2022

actually managed to do that by using:

apprise -vvvv -i "html" -t "new message" -b " 😀"

I've used the code from here: https://www.w3schools.com/charsets/ref_emoji_smileys.asp

@caronc
Copy link
Owner

caronc commented Aug 16, 2022

It's a good idea, but it would add a bit of overhead to further parse all of the data passed in. So it would have to be an option that defaults to being off.

# enable overhead and further parse input 
apprise -vv --emojis -b ":smile:" -t "title"

👆 Something like that I'm guessing?

Thoughts?

@ntfc
Copy link

ntfc commented Nov 29, 2023

Would it be more complicated to add an emojis attribute instead? e.g apprise -vv -b ":smile:" -t "title" tgram://123456789:abcdefg_hijklmnop/12315544/?emojis=Yes

@caronc
Copy link
Owner

caronc commented Dec 3, 2023

i would allow the over-ride like you have identified and also the --emojis from the command line (both would work) :). I haven't had time to address this yet, but i haven't forgotten either 🙂

@caronc caronc changed the title Adding EMOJI support for telegram Adding EMOJI support to Apprise - ?emojis=yes to URL and --emojis for CLI Dec 3, 2023
@caronc
Copy link
Owner

caronc commented Dec 16, 2023

Emoji support completed and merged into master. It will be part of the next release.

@caronc caronc closed this as completed Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants