mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: don't require Downloadable.file_id to be writable
This commit is contained in:
parent
44bd8fe103
commit
4d9037612b
1 changed files with 2 additions and 1 deletions
|
|
@ -2,4 +2,5 @@ from typing import Protocol
|
|||
|
||||
|
||||
class Downloadable(Protocol):
|
||||
file_id: str
|
||||
@property
|
||||
def file_id(self) -> str: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue