TelegramApi
TelegramApi copied to clipboard
JavaScript library for using Telegram API
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...
  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...
Node.js
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...