Skip to content

Commit

Permalink
[Fix] Minor copypasta typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazechaser committed Oct 13, 2017
1 parent 962ce2a commit 7315fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram.js
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ class TelegramBot extends EventEmitter {
* @see https://core.telegram.org/bots/api#stopmessagelivelocation
*/
stopMessageLiveLocation(form = {}) {
return this._request('editMessageLiveLocation', { form });
return this._request('stopMessageLiveLocation', { form });
}

/**
Expand Down

0 comments on commit 7315fcf

Please sign in to comment.