aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/actions/telegram.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/telegram.rs')
-rw-r--r--src/actions/telegram.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/telegram.rs b/src/actions/telegram.rs
index b489864..3e1809d 100644
--- a/src/actions/telegram.rs
+++ b/src/actions/telegram.rs
@@ -45,6 +45,10 @@ impl<'a> TelegramAction<'a> {
#[async_trait]
impl Action<'_> for TelegramAction<'_> {
+ fn name(&self) -> &'static str {
+ "telegram"
+ }
+
async fn run(&self, params: Option<&MessageParams<'_, '_>>) -> Result<()> {
let subject = self.message_config.subject(params)?;
let body = self.message_config.body(params)?;