-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In case a talk submitted via Typeform is new and we don't have them in our database, when this hook is triggered:
ppm-telegram-bot/ppm_telegram_bot/routers/triggers.py
Lines 39 to 41 in c0b3e1b
| async def talk_new(talk: TalkInfo, bot: Bot = Depends(telegram_bot)) -> None: | |
| message = templates.new_talk.format(**talk.dict()) | |
| await bot.send_message(chat_id=settings.ORG_CHAT_ID, text=message) |
we can schedule a background task to create a new chat, add the speaker and all organizers and post a template message explaining the preparing process and yada yada.
Metadata
Metadata
Assignees
Labels
No labels