mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-07 03:26:46 +08:00
Minor fix
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
parent
e752bb1e8b
commit
efe2c21af4
@ -31,7 +31,7 @@ async def send_message(message, text, buttons=None, block=True):
|
||||
|
||||
async def edit_message(message, text, buttons=None, block=True):
|
||||
try:
|
||||
await message.edit(
|
||||
return await message.edit(
|
||||
text=text,
|
||||
disable_web_page_preview=True,
|
||||
reply_markup=buttons,
|
||||
|
Loading…
Reference in New Issue
Block a user