summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-02-07 07:37:23 +0100
committerdefault <nobody@localhost>2023-02-07 07:37:23 +0100
commit2db57c9df96f4bf7c9dd996f19c104da3cae6263 (patch)
treeccdaf03c90686442cf32a44a60b4b10394b9d918 /snac.h
parentf6d51357afcb047a0804600a19694944f64e82bc (diff)
Added internals for Telegram notifications.
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 642606d..da964ab 100644
--- a/snac.h
+++ b/snac.h
@@ -128,6 +128,7 @@ void enqueue_input(snac *snac, xs_dict *msg, xs_dict *req, int retries);
void enqueue_output(snac *snac, xs_dict *msg, xs_str *inbox, int retries);
void enqueue_output_by_actor(snac *snac, xs_dict *msg, xs_str *actor, int retries);
void enqueue_email(xs_str *msg, int retries);
+void enqueue_telegram(const xs_str *msg, const char *bot, const char *chat_id);
void enqueue_message(snac *snac, char *msg);
xs_list *user_queue(snac *snac);