Skip to content

Comments

Added support of "startapp" deep links#1648

Merged
JrooTJunior merged 5 commits intoaiogram:dev-3.xfrom
welaskez:dev-3.x
Mar 8, 2025
Merged

Added support of "startapp" deep links#1648
JrooTJunior merged 5 commits intoaiogram:dev-3.xfrom
welaskez:dev-3.x

Conversation

@welaskez
Copy link
Contributor

@welaskez welaskez commented Mar 6, 2025

Description

Added support deep links to open Mini Apps

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

from aiogram.utils.deep_linking import create_startapp_link

link = await create_startapp_link(bot, 'foo')
# result: 'https://t.me/MyBot?startapp=foo'

Test Configuration:

  • Operating System: Mac OS Sequoia 15.3.1
  • Python version: 3.11

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Mar 6, 2025
@github-actions
Copy link

github-actions bot commented Mar 6, 2025

✔️ Changelog found.

Thank you for adding a description of the changes

@codecov
Copy link

codecov bot commented Mar 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (843c1de) to head (c5a97fd).
Report is 2 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1648   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          486       486           
  Lines        12318     12321    +3     
=========================================
+ Hits         12318     12321    +3     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
aiogram/utils/deep_linking.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JrooTJunior JrooTJunior merged commit de240b6 into aiogram:dev-3.x Mar 8, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Issue or PR for stable 3.x version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants