mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 19:14:51 +00:00
Fix Msg id Invalid
This commit is contained in:
parent
cba00e470c
commit
b24cbc952d
1 changed files with 28 additions and 24 deletions
|
|
@ -155,6 +155,7 @@ async def imdb_search_id(kueri, message):
|
|||
)
|
||||
buttons.add(*BTN)
|
||||
msg = await k.edit_caption(msg, reply_markup=buttons)
|
||||
try:
|
||||
await msg.wait_for_click(
|
||||
from_user_id=message.from_user.id,
|
||||
timeout=30
|
||||
|
|
@ -211,6 +212,7 @@ async def imdb_search_en(kueri, message):
|
|||
)
|
||||
buttons.add(*BTN)
|
||||
msg = await k.edit_caption(msg, reply_markup=buttons)
|
||||
try:
|
||||
await msg.wait_for_click(
|
||||
from_user_id=message.from_user.id,
|
||||
timeout=30
|
||||
|
|
@ -263,6 +265,7 @@ async def imdbcari(self: Client, query: CallbackQuery):
|
|||
)
|
||||
buttons.add(*BTN)
|
||||
msg = await query.message.edit_caption(msg, reply_markup=buttons)
|
||||
try:
|
||||
await msg.wait_for_click(
|
||||
from_user_id=int(uid),
|
||||
timeout=30
|
||||
|
|
@ -308,6 +311,7 @@ async def imdbcari(self: Client, query: CallbackQuery):
|
|||
)
|
||||
buttons.add(*BTN)
|
||||
msg = await query.message.edit_caption(msg, reply_markup=buttons)
|
||||
try:
|
||||
await msg.wait_for_click(
|
||||
from_user_id=int(uid),
|
||||
timeout=30
|
||||
|
|
|
|||
Loading…
Reference in a new issue