Skip to content

Commit

Permalink
ready to use
Browse files Browse the repository at this point in the history
  • Loading branch information
uwussimo committed Dec 10, 2021
1 parent 470c7c7 commit 778d48d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tg-forms@0.0.1
# tg-forms@0.1.0

Small JavaScript library for **Creating Telegram Forms**

Expand All @@ -9,5 +9,15 @@ Small JavaScript library for **Creating Telegram Forms**
## Getting started

```JavaScript
import {tgForms} from 'tg-forms'
import {sendMessage} from 'tg-forms'

const options = {
token: process.env.BOT_TOKEN,
admins: [1234567,-1274287329], //Telegram admin chat IDs
parse_mode: "markdown", //Default is markdown
message: "Custom **message** you _want_ to send",
}

sendMessage(options);

```

0 comments on commit 778d48d

Please sign in to comment.