chore: README
This commit is contained in:
parent
03bfae0028
commit
6e732a36fb
@ -24,7 +24,7 @@ Example
|
|||||||
import Bot, { Message, File } from 'telegram-api';
|
import Bot, { Message, File } from 'telegram-api';
|
||||||
|
|
||||||
// ES5:
|
// ES5:
|
||||||
var Bot = require('telegram-api');
|
var Bot = require('telegram-api').default;
|
||||||
var Message = require('telegram-api/types/Message');
|
var Message = require('telegram-api/types/Message');
|
||||||
var File = require('telegram-api/types/File');
|
var File = require('telegram-api/types/File');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user