Fix files URL template

This commit is contained in:
Alex Root Junior 2020-11-09 11:39:19 +02:00
parent d0bfa8a13b
commit 7f448b4d8e

View file

@ -47,7 +47,7 @@ class TelegramAPIServer:
base = base.rstrip("/")
return cls(
base=f"{base}/bot{{token}}/{{method}}",
file=f"{base}/file/bot{{token}}/{{method}}",
file=f"{base}/file/bot{{token}}/{{path}}",
)