start msg

This commit is contained in:
Kseninia Mikhaylova 2024-07-22 11:13:16 +03:00
parent f211df9c7d
commit 0809427959
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ class TgBot:
TgBot.app.add_error_handler(self.error_handler) TgBot.app.add_error_handler(self.error_handler)
async def start(self, update: Update, context: CallbackContext): async def start(self, update: Update, context: CallbackContext):
await update.message.reply_markdown_v2( await update.effective_message.reply_markdown_v2(
( (
"Это бот для проведения инвентаризации\n" "Это бот для проведения инвентаризации\n"
"/ter \-\- список территорий\n" "/ter \-\- список территорий\n"
@ -135,7 +135,7 @@ class TgBot:
"/my \-\- продолжить инвентаризацию\n" "/my \-\- продолжить инвентаризацию\n"
), ),
# reply_markup=ForceReply(selective=True), # reply_markup=ForceReply(selective=True),
reply_parameters=ReplyParameters(message_id=update.message.message_id), reply_parameters=ReplyParameters(message_id=update.effective_message.message_id),
) )
async def my(self, update: Update, context: CallbackContext): async def my(self, update: Update, context: CallbackContext):