mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Remove bot entity from types.
This commit is contained in:
parent
4fce1cefe6
commit
4f7bdfa885
3 changed files with 11 additions and 18 deletions
|
|
@ -40,9 +40,6 @@ class Chat(Deserializable):
|
|||
|
||||
return Chat(data, id, type, title, username, first_name, last_name, all_members_are_administrators)
|
||||
|
||||
async def send_message(self, text):
|
||||
self.bot.send_message(self.id, text)
|
||||
|
||||
@property
|
||||
def full_name(self):
|
||||
if self.type == ChatType.PRIVATE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue