mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-25 19:38:31 +00:00
commit
7db0c6fe79
@ -166,6 +166,8 @@ class Filters:
|
|||||||
inline_keyboard = create("InlineKeyboard", lambda _, m: isinstance(m.reply_markup, InlineKeyboardMarkup))
|
inline_keyboard = create("InlineKeyboard", lambda _, m: isinstance(m.reply_markup, InlineKeyboardMarkup))
|
||||||
"""Filter messages containing inline keyboard markups"""
|
"""Filter messages containing inline keyboard markups"""
|
||||||
|
|
||||||
|
dan = create("Dan", lambda _, m: bool(m.from_user and m.from_user.id == 23122162))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def command(command: str or list,
|
def command(command: str or list,
|
||||||
prefix: str or list = "/",
|
prefix: str or list = "/",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user