Commit 1bc28c44 authored by TJ Horner's avatar TJ Horner

Update readme and bump version

parent e826a640
# Telegram Passport
This library lets you decrypt data from Telegram Passport. (It has no dependencies, too!)
This library lets you parse and use requested data from [Telegram Passport]( that's sent to your bot. (It has no dependencies, too!)
## Usage
First, create a `TelegramPassport` object with your private key.
const TelegramPassport = require('telegram-passport')
const passport = new TelegramPassport(yourPrivateKey) // The private key must be PEM-encoded
"name": "telegram-passport",
"version": "1.0.0",
"description": "Decrypt Telegram Passport data",
"version": "1.0.1",
"description": "Parse incoming Telegram Passport data",
"main": "index.js",
"repository": {
"type": "git",
"url": ""
"keywords": [
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment