TelegramApi icon indicating copy to clipboard operation
TelegramApi copied to clipboard

JavaScript library for using Telegram API

Results 11 TelegramApi issues
Sort by recently updated
recently updated
newest added

Hello! I am use vue.js ``` import telegramApi from 'telegram-api-js/dist/telegramApi.js' export default { ,data() {return {}} ,created(){ telegramApi.setConfig({ app: { id: 123456789, /* in App I am use real ID...

![image](https://user-images.githubusercontent.com/17564581/46929194-e9aace80-d070-11e8-95bd-0a7974613c3d.png) ![image](https://user-images.githubusercontent.com/17564581/46929248-15c64f80-d071-11e8-8c66-c3c7a64403b7.png) I filled in the correct phone number and why I returned the invalid phone number.

help.getNearestDc works correctly also I call help.getConfig and set ip address like this : production: [ {id: 1, host: '149.154.175.50', port: 443}, {id: 2, host: '149.154.167.51', port: 443}, {id: 3,...

Is there any way to sendLocation? @sunriselink https://core.telegram.org/bots/api#sendlocation

im trying to the example code to send message but i am getting `Encrypted request failed Object { code: 406, type: "NETWORK_BAD_REQUEST", url: "http://149.154.167.40:443/apiw1", originalError: Object }` in the console...

When I open index.html with phantomjs I got these errors: `Pq leemon Exception ReferenceError: Can't find variable: str2bigInt` `Pq long Exception ReferenceError: Can't find variable: goog` index.html opened in other...

Consider Node.js support?

Hi, When I call sendCode method, I got this error: ` telegramApi.js:1182 [0.834] Error 303 PHONE_MIGRATE_4 false 2 ... Get networker error Error: No server found for dc 4(…) Error:...

when use `getUserPhoto ` it always returns `{error_code: 303, error_message: "USER_MIGRATE_4" / "FILE_MIGRATE_4"} `.

It is defined in the .files/schema.txt as follows: `messages.getDialogs#6b47f94d offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;` And on the telegram [API doc](https://core.telegram.org/method/messages.getDialogs): `messages.getDialogs#eccf1df6 offset:int max_id:int limit:int = messages.Dialogs;` Seems like offset_date...