mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: use f-string to get correct type for mandatory field
This commit is contained in:
parent
86d3dfe81f
commit
d53626ef2e
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class Chat(TelegramObject):
|
|||
if self.last_name is not None:
|
||||
return f"{self.first_name} {self.last_name}"
|
||||
|
||||
return self.first_name
|
||||
return f"{self.first_name}"
|
||||
|
||||
def ban_sender_chat(self, sender_chat_id: int) -> BanChatSenderChat:
|
||||
from ..methods import BanChatSenderChat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue