mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Add support of Bot API 4.7. Bump version
This commit is contained in:
parent
4cb9697cb4
commit
33003f2026
167 changed files with 996 additions and 504 deletions
|
|
@ -6,6 +6,8 @@ Use this method to delete a message, including service messages, with the follow
|
|||
|
||||
- A message can only be deleted if it was sent less than 48 hours ago.
|
||||
|
||||
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
|
||||
|
||||
- Bots can delete outgoing messages in private chats, groups, and supergroups.
|
||||
|
||||
- Bots can delete incoming messages in private chats.
|
||||
|
|
@ -37,8 +39,7 @@ Description: Returns True on success.
|
|||
|
||||
## Usage
|
||||
|
||||
|
||||
### As bot method bot
|
||||
### As bot method
|
||||
|
||||
```python3
|
||||
result: bool = await bot.delete_message(...)
|
||||
|
|
@ -67,7 +68,6 @@ return DeleteMessage(...)
|
|||
```
|
||||
|
||||
|
||||
|
||||
## Related pages:
|
||||
|
||||
- [Official documentation](https://core.telegram.org/bots/api#deletemessage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue