opens databases and initializes buttons
path or [[LevelUp]] object to use §as alertmanager database
path or [[LevelUp]] object to use as alerts database
instance
Links a message and the alert on the state
telegram chat ID
telegram message ID
hash from IAlert.hash
resolves if added successfully
Adds a user chat to the state
telegram user ID
telegram chat ID
void on success or throws error
Deletes an alert
alert hash to delete
nothing
Inline keyboard markup for an alert
alert to generate the markup for
keyboard markup
retrieves alert data from database by it's hash
alert hash from IAlert.hash
alert data
Get the alert context for the given message
telegram message ID
alert context
Get all current chats on state
chat entries
get IAlertMessage list filtered by a given filter
filter records per predicate
alert messages
Gets all messages that have been sent for the given alert
alert hash from IAlert.hash
alert messages
Gets all chats which haven't received the given alert
alert hash to search for
chats which didn't receive the alert
Check whether a given user chat is already on state
telegram user ID
telegram chat ID
true if the chat exists on context state
Parses a callback request if it is known
bot context
middleware callback
callback chain result
silences alerts on alertmanager
alertmanager context
silence period, e.g. 1h
callback chain result
sends firing alert messages, or edits messages with resolved status
alert data
telegram object
callback chain result
Silence an alert
the alert to silence
period to silence the alert, e.g. "1h"
silence requester
request response
generates callback data to silence an alert
string representing time, e.g. 1h
data encoded as string
Generated using TypeDoc
Handles alert notifications and silence requests