forked from yagop/node-telegram-bot-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v4.0] Add tests and add minor improvement
Follow up update to yagop#625 - Tests for both methods (sendAnimation, editMediaMessage) have been added. editMediaMessage is nested under sendAnimation, hence both tests are technically under a single block. - Add an improvement/minor fix to the editMediaMessage method, where we now stringify the first parameter (media) object interally within the library. This allows the lib user to simply pass an object as the 1st param without stringifying it.
- Loading branch information
1 parent
c74bf53
commit 75cb737
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters