Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit a37f0d7

Browse files
Make conversation methods compatible with latest Pyrogram.
1 parent ce2b782 commit a37f0d7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

pyrogram/methods/messages/wait_for_callback_query.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@
2222

2323
from pyrogram import types
2424
from pyrogram.filters import Filter
25-
from pyrogram.scaffold import Scaffold
2625

2726

28-
class WaitForCallbackQuery(Scaffold):
27+
class WaitForCallbackQuery:
2928
async def wait_for_callback_query(
3029
self,
3130
chat_id: Union[int, str],

pyrogram/methods/messages/wait_for_message.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@
2222

2323
from pyrogram import types
2424
from pyrogram.filters import Filter
25-
from pyrogram.scaffold import Scaffold
2625

2726

28-
class WaitForMessage(Scaffold):
27+
class WaitForMessage:
2928
async def wait_for_message(
3029
self,
3130
chat_id: Union[int, str],

0 commit comments

Comments
 (0)