Skip to content

Commit

Permalink
chore: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Feb 24, 2024
1 parent 69a9f22 commit 015daf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gramio",
"version": "0.0.16",
"version": "0.0.17",
"description": "Powerful Telegram Bot API framework",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class Updates {
throw new Error(`[UPDATES] Update type ${updateType} not supported.`);
}
}

/**@deprecated use bot.start instead */
async startPolling(params: APIMethodParams<"getUpdates"> = {}) {
if (this.isStarted) throw new Error("[UPDATES] Polling already started!");

Expand Down

0 comments on commit 015daf3

Please sign in to comment.