Skip to content

Commit

Permalink
Usage of deprecated type was eliminated
Browse files Browse the repository at this point in the history
  • Loading branch information
AleX83Xpert committed Jan 15, 2023
1 parent 0895c36 commit d355f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/TelegramService.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class TelegramService {
this.bot.command('start', this.onStartCommand)
this.bot.command('help', this.onHelpCommand)

this.bot.on('text', this.onText)
this.bot.on('message', this.onText)
this.bot.on('inline_query', this.onInlineQuery)

this.bot.launch({
Expand Down

0 comments on commit d355f21

Please sign in to comment.