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

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
Similar Resources

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

Oct 31, 2022

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

Nov 23, 2021

Send Linux mails to Slack with golang

LinuxMailToSlack Install go install github.com/TKMAX777/MailToSlack@latest sudo

Jul 30, 2022

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

Dec 15, 2022

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" }

Mar 13, 2022

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 🛌.

Feb 15, 2022

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.

Oct 26, 2022

Simple Telegram Service Bot For Golang

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

Oct 19, 2022

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

Jan 10, 2022
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

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

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

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

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.
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

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

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

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.
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

Dec 7, 2021
Fancy, fully-featured, easy to use Telegram CAPTCHA bot written in Go
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

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

Jan 6, 2023