bot-telegram-webhook

command module
v0.0.0-...-209746e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 9 Imported by: 0

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

ENV Description
GO_ENV app environment (development, production)
BOT_TOKEN bot telegram token
CHAT_ID chat id for sending the message
PORT app 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL