mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
💩 First iteration
This commit is contained in:
parent
0bd7fc2c7e
commit
fac69e52b7
25 changed files with 427 additions and 273 deletions
|
|
@ -101,12 +101,12 @@ from ..types import (
|
|||
from .base import BaseBot
|
||||
|
||||
|
||||
class Bot(BaseBot):
|
||||
class Bot(BaseBot["Bot"]):
|
||||
"""
|
||||
Class where located all API methods
|
||||
"""
|
||||
|
||||
@alru_cache()
|
||||
@alru_cache() # type: ignore
|
||||
async def me(self) -> User:
|
||||
return await self.get_me()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue