Skip to content

Commit

Permalink
integration settings for twilio
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderGi committed Jul 19, 2024
1 parent 29e44c8 commit 576762c
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 33 deletions.
2 changes: 2 additions & 0 deletions bots/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def send_broadcast_msgs_chunked(
buttons: list[ReplyButton] = None,
convo_qs: QuerySet[Conversation],
bi: BotIntegration,
medium: str = "Voice Call",
):
convo_ids = list(convo_qs.values_list("id", flat=True))
for i in range(0, len(convo_ids), 100):
Expand All @@ -165,6 +166,7 @@ def send_broadcast_msgs_chunked(
documents=documents,
bi_id=bi.id,
convo_ids=convo_ids[i : i + 100],
medium=medium,
)


Expand Down
Loading

0 comments on commit 576762c

Please sign in to comment.