caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
11.71k stars 410 forks source link

tgram:// supports chat_id:topic arguments #1028

Closed caronc closed 9 months ago

caronc commented 9 months ago

Description:

Related issue (if applicable): #1021

Telegram plugin supports: tgram://{chat_id}:{topic} now (using a colon (:) as a delimiter. Hence the following is valid too: tgram://{chat_id}:{topic}/{chat_id2}:{topic2}/...

Topics are purely optional

Checklist

Testing

Anyone can help test this source code as follows:

# Create a virtual environment to work in as follows:
python3 -m venv apprise

# Change into our new directory
cd apprise

# Activate our virtual environment
source bin/activate

# Install the branch
pip install git+https://github.com/caronc/apprise.git@1021-telegram-chatid-to-topics

# Test out the changes with the following command:
apprise -t "Test Title" -b "Test Message" \
     "tgram://credentials/chat_id:topic"
codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9dcf769) 99.27% compared to head (ac4c94a) 99.27%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1028 +/- ## ======================================= Coverage 99.27% 99.27% ======================================= Files 136 136 Lines 17657 17669 +12 Branches 3603 3603 ======================================= + Hits 17529 17541 +12 Misses 119 119 Partials 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.