Categorygithub.com/rasyidridha532/bot-telegram-webhook
modulepackage
0.0.0-20240730034439-ba6780592d08
Repository: https://github.com/rasyidridha532/bot-telegram-webhook.git
Documentation: pkg.go.dev

# README

bot-telegram-webhook

This is my web app in Golang for getting webhook from Google Cloud and Datadog for alerting purposes and send it with bot telegram to chat/group

Feature

  • Web Framework: Gin
  • Env Config: godotenv

ENV Configuration

Enter your configuration in .env.example

ENVDescription
GO_ENVapp environment (development, production)
BOT_TOKENbot telegram token
CHAT_IDchat id for sending the message
PORTapp port

Endpoint

  • /api/v1/profile
    • GET get overview about bot
  • /api/v1/webhook
    • GET get raw webhook from anywhere
  • /api/v1/google-alert
    • POST get alert data from GCP (Google Cloud Platform) and send it with telegram bot
  • /api/v1/datadog-alert
    • POST get alert data from Datadog and send it with telegram bot
  • /api/v1/message
    • POST send a message with telegram bot

# Packages

No description provided by the author
No description provided by the author
No description provided by the author