mirror of
https://github.com/caronc/apprise.git
synced 2025-08-15 02:42:35 +02:00
Added Telegram Topic Thread ID Support (#854)
This commit is contained in:
@ -98,6 +98,14 @@ apprise_url_tests = (
|
||||
('tgram://bottest@123456789:abcdefg_hijklmnop/lead2gold/', {
|
||||
'instance': NotifyTelegram,
|
||||
}),
|
||||
# Support Thread Topics
|
||||
('tgram://bottest@123456789:abcdefg_hijklmnop/id1/?topic=12345', {
|
||||
'instance': NotifyTelegram,
|
||||
}),
|
||||
# Threads must be numeric
|
||||
('tgram://bottest@123456789:abcdefg_hijklmnop/id1/?topic=invalid', {
|
||||
'instance': TypeError,
|
||||
}),
|
||||
# Testing image
|
||||
('tgram://123456789:abcdefg_hijklmnop/lead2gold/?image=Yes', {
|
||||
'instance': NotifyTelegram,
|
||||
|
Reference in New Issue
Block a user