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

Telegram messages leverage caption field when attachments #1290

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

caronc
Copy link
Owner

@caronc caronc commented Feb 20, 2025

Description:

Related issue (if applicable): #1279

Telegram leverages captions when there are file attachments

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

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@1279-discord-image-caption

# Test out the changes with the following command:
apprise -t "Test Title" -b "Test Message" \
  <apprise url related to ticket>

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.36%. Comparing base (fcc4939) to head (8fdf8ee).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1290   +/-   ##
=======================================
  Coverage   99.36%   99.36%           
=======================================
  Files         159      159           
  Lines       20718    20724    +6     
  Branches     3724     3725    +1     
=======================================
+ Hits        20587    20593    +6     
  Misses        121      121           
  Partials       10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caronc caronc linked an issue Feb 20, 2025 that may be closed by this pull request
@caronc caronc force-pushed the 1279-discord-image-caption branch from 64957da to 3b9b4c8 Compare February 20, 2025 16:12
@caronc caronc merged commit 0553bf7 into master Feb 20, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support image caption for telegram
1 participant