The serverless OTP telegram service use telegram as OTP service, and send OTP through webhook

Overview

Setup OTP

First thing, you need prepare API(webhook) with POST method, the payload format as below

{
  "first_name": "Nolan",
  "last_name": "Nguyen",
  "otp": "2448", // OTP
  "phone_number": "8434700000", // Phone number
  "time": "1629743463", // UTC Seconds
  "user_id": "963106161" // User ID
}

create .env file as format below

TELEGRAM_BOT=token telegram
WEBHOOK=API webhook
OPEN_URL= khi nhận OTP, sẽ xuất hiện nút ấn vào link này. maybe link của website
APP_ENV=production // env

deploy

tạo file .env xong run lệnh:
docker-compose up -d --build
You might also like...
send current weather updates from openweathermap api to your slack profile status using github action
send current weather updates from openweathermap api to your slack profile status using github action

go-slack-weather Send current weather updates from OpenWeatherMap API to your Slack profile status using GitHub Action Contents Setup Change Update Pe

Send Slack reports of pull requests pending review
Send Slack reports of pull requests pending review

preport Born out of a desire to get pull requests reviewed faster without having to send manual reminders, preport generates reports of GitLab pull re

Send Linux mails to Slack with golang

LinuxMailToSlack Install go install github.com/TKMAX777/[email protected] sudo

Discord-notif - Send notifications to discord in Your pipelines or scripts
Discord-notif - Send notifications to discord in Your pipelines or scripts

discord-notif Send notifications to discord in Your pipelines or scripts install

Client to send messages to channels in Slack.

Slack Client A simple client to send messages to channels in Slack. Example package main import { "fmt" slack "github.com/tommzn/go-slack" }

Auto send check-in message to Slack channel at a specific time.
Auto send check-in message to Slack channel at a specific time.

Auto Slack Check-in auto-slack-checkin is a command line interface (CLI) that sends check-in or check-out message for you while you are sleeping 🛌.

Notifier is a Go library to send notification to other applications.
Notifier is a Go library to send notification to other applications.

Notifier is a Go library to send notification to other applications.

Simple Telegram Service Bot For Golang

Simple Telegram Service Bot Features Delete and ban channel messages Delete and

Go Blog Updates (Telegram Bot service)

Go Blog Updates - Telegram Bot This service consumes events about new posts in go blog (go.dev) from message broker (rabbitmq) (gbu-scanner service pu

Owner
Dong Nguyen
Contact me: [email protected]
Dong Nguyen
An easy to use relay for cftools webhook events piped to Discord when filter rules match.

CFTools Relay CFTools Relay is an easy-to-use, still in development, tool that allows you to subscribe to CFTools Cloud Webhook events and forward the

Florian 3 Nov 22, 2022
Telegram bot check your TrainingPeaks profile workouts and send notification if some workouts added or changed

TrainingPeaks Bot Telegram bot check your TrainingPeaks profile workouts and sen

Kotov Alexander 0 Dec 29, 2021
This repository will guide you to steal whatever the user copies and send content to telegram bot.

copy-clipboard-stealer-with-telegram This repository will guide you to steal whatever the user copies and send content to telegram bot. Setting Envior

Jhangju 2 Oct 4, 2022
This utility allows you to execute Minecraft server commands through the RCON protocol via Telegram chat.

Minecraft RCON by Telegram This utility allows you to execute Minecraft server commands through the RCON protocol via Telegram chat. FAQ When you run

Alexander Pers0na2 4 Jul 24, 2022
A serverless bot which periodically checks configured BigQuery capacity commitments, reservations and assignments against actual slot consumption of running jobs and reports findings to Slack/Google Chat.

Solution Guide This solution implements a ChatOps-like approach to monitoring slot utilization of Google Cloud BigQuery reservations. As an alternativ

Google Cloud Platform 10 Dec 7, 2022
Dlercloud-telegram-bot - A Telegram bot for managing your Dler Cloud account

Dler Cloud Telegram Bot A Telegram bot for managing your Dler Cloud account. Usa

Beta Kuang 1 Dec 30, 2021
Pro-bot - A telegram bot to play around with the community telegram channels

pro-bot ?? Pro Bot A Telegram Bot to Play Around With The Community Telegram Cha

TechProber 1 Jan 24, 2022
An info-grabber that delivers to a Discord webhook. Doesn't remove data, ignorant executors will think it's a file cleaning application.

Disclaimer This was made for "educational" purposes ONLY. Files You can compile main.go after editing its code (make sure to also install the go.mod f

null 0 Dec 7, 2021
Fancy, fully-featured, easy to use Telegram CAPTCHA bot written in Go

Go Telegram Captcha Bot Fancy, fully-featured, easy to use, scalable Telegram CAPTCHA bot written in Go based on tucnak's telebot this robot only has

GNU/Weeb 15 Jul 18, 2022
EVM Liquidity Sniper Bot consuming GETH txs through the mempool

AX-50 Liquidity Sniper This bot requires you to run the GETH client + use ethers framework. Supports any EVM environment and UniSwapV2 forked AMM seem

Santi Aguilera 128 Jan 6, 2023