mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-11 22:30:41 +03:00
15 lines
410 B
Python
15 lines
410 B
Python
from telegram import Update
|
|
from telegram.ext import ContextTypes
|
|
|
|
|
|
async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
|
|
"""Send a message when the command /help is issued."""
|
|
|
|
if update.message:
|
|
await update.message.reply_text(
|
|
"Help!",
|
|
disable_notification=True,
|
|
api_kwargs={"text": "Hello World"},
|
|
)
|
|
return None
|