1 | class VkBotSdkApi {
|
2 | /**
|
3 | * Создает экземпляр
|
4 | *
|
5 | * @param {VkBotSdkClient} client
|
6 | */
|
7 | constructor(client) {
|
8 | this.client = client;
|
9 | }
|
10 |
|
11 | request(method, params) {
|
12 | return this.client.request(method, params);
|
13 | }
|
14 |
|
15 | uploadFile(url, file, key, filename) {
|
16 | return this.client.uploadFile(url, file, key, filename);
|
17 | }
|
18 | }
|
19 |
|
20 | module.exports = VkBotSdkApi; |
\ | No newline at end of file |