Skip to content

Commit

Permalink
version: 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoDanin committed Sep 21, 2018
1 parent cb654c4 commit c78694e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Telegraf Test
# Telegraf Test [![Codacy Badge](https://api.codacy.com/project/badge/Grade/626063315da84c0fa65f020a864774c4)](https://www.codacy.com/app/tiagodanin/Telegraf-Test?utm_source=github.com&utm_medium=referral&utm_content=TiagoDanin/Telegraf-Test&utm_campaign=Badge_Grade) [![Build Status](https://travis-ci.org/TiagoDanin/Telegraf-Test.svg?branch=master)](https://travis-ci.org/TiagoDanin/Telegraf-Test) [![Known Vulnerabilities](https://snyk.io/test/github/TiagoDanin/Telegraf-Test/badge.svg?targetFile=package.json)](https://snyk.io/test/github/TiagoDanin/Telegraf-Test?targetFile=package.json)

Telegraf Test - Simple Test ToolKit of Telegram Bots

Expand Down Expand Up @@ -78,15 +78,15 @@ test.sendMessageWithText('/ping')

#### Set & Get Objects

- **setUser({**[params](https://https://core.telegram.org/bots/api)**})**
- **setUser({**[params](https://core.telegram.org/bots/api#user)**})**

- **setChat({**[params](https://https://core.telegram.org/bots/api)**})**
- **setChat({**[params](https://core.telegram.org/bots/api#chat)**})**

- **setMessage({**[params](https://https://core.telegram.org/bots/api)**})**
- **setMessage({**[params](https://core.telegram.org/bots/api#message)**})**

- **setInlineQuery({**[params](https://https://core.telegram.org/bots/api)**})**
- **setInlineQuery({**[params](https://core.telegram.org/bots/api#inlinequery)**})**

- **setCallbackQuery({**[params](https://https://core.telegram.org/bots/api)**})**
- **setCallbackQuery({**[params](https://core.telegram.org/bots/api#callbackquery)**})**

- **setUpdateId(id: Number)**
> Update id.</br>
Expand All @@ -96,12 +96,12 @@ test.sendMessageWithText('/ping')

Return request of [axios](https://github.com/axios/axios).

- **sendUpdate({**[params](https://https://core.telegram.org/bots/api)**})**
- **sendMessage({**[params](https://https://core.telegram.org/bots/api)**})**
- **sendMessageWithText(text: String, {**[params](https://https://core.telegram.org/bots/api)**})**
- **sendInlineQuery(query: String, {**[params](https://https://core.telegram.org/bots/api)**})**
- **sendCallbackQuery({**[params](https://https://core.telegram.org/bots/api)**})**
- **sendCallbackQueryWithData(data: String, {**[params](https://https://core.telegram.org/bots/api)**})**
- **sendUpdate({**[params](https://core.telegram.org/bots/api#update)**})**
- **sendMessage({**[params](https://core.telegram.org/bots/api#message)**})**
- **sendMessageWithText(text: String, {**[params](https://core.telegram.org/bots/api#message)**})**
- **sendInlineQuery(query: String, {**[params](https://core.telegram.org/bots/api#inlinequery)**})**
- **sendCallbackQuery({**[params](https://core.telegram.org/bots/api#callbackquery)**})**
- **sendCallbackQueryWithData(data: String, {**[params](https://core.telegram.org/bots/api#callbackquery)**})**

### Using with a Test Framework

Expand All @@ -125,7 +125,7 @@ Run with `$ mocha --exit --timeout 100000`

### Using Debug

Set environment variables `DEBUG=telgraf:test`
Set environment variables `DEBUG=telgraf:test`.

## Dependencies

Expand Down

0 comments on commit c78694e

Please sign in to comment.