diff options
Diffstat (limited to 'vnext/src/api')
-rw-r--r-- | vnext/src/api/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vnext/src/api/index.js b/vnext/src/api/index.js index efa57cf1..90c8b15e 100644 --- a/vnext/src/api/index.js +++ b/vnext/src/api/index.js @@ -31,6 +31,10 @@ export function me(username = '', password = '') { }); } +export function info(username) { + return client.get(`/info/${username}`); +} + export function getChats() { return client.get('/groups_pms'); } |