Magik.TelegramNoti (Magik v0.3.0) View Source
This module provide some helper functions that help to send message to a telegram conversation
Config
config :magik, :telegram_noti,
bot_token: "your bot token".
conversations: [
default: "default_chat_id",
admin: "other chat id"
],
mode: :prod # or :devconversationsis a keyword list with name and chat_idmode::prodor:devis used in TelegramNoti Plug, ifmode == :devthen reraise the error and return error stacktrace to client side. Ifmode == :prodthen do not return error stacktrace.
Link to this section Summary
Functions
Watch a function and send notification to conversation if an exception occurs