Skip to content

Commit

Permalink
Resolve Telegram issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh Patel authored and Harsh Patel committed Apr 13, 2023
1 parent c7cabb9 commit 62e9963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/telegram_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def handle_telegram_webhook(req: Request):
output = await process_voice_message(voice_url)
else:
# Process text messages
output = await process_chat_message(text)
output = await process_chat_message(text,chat_id)

# Send the output as a text message or a photo with a caption, depending on the type of output
if isinstance(output, tuple):
Expand Down

0 comments on commit 62e9963

Please sign in to comment.