Categorygithub.com/Fuchsoria/telegram-webapps
modulepackage
0.0.3
Repository: https://github.com/fuchsoria/telegram-webapps.git
Documentation: pkg.go.dev

# README

Telegram WebApps

Tools for telegram web apps: https://core.telegram.org/bots/webapps

Quick start:

Install Package: go get github.com/Fuchsoria/telegram-webapps

Add Imports:

import (
	"fmt"
	"log"
	webapps "github.com/Fuchsoria/telegram-webapps"
)

Use!:

func  main() {
	token  :=  "BOT_TOKEN"
	data  :=  "WebAppInitData_from_TG"

	err, user  := webapps.VerifyWebAppData(data, token)
	if err !=  nil {
		log.Fatal(err)
	}

	fmt.Println(user)
}

# Functions

No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author