-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault (core dumped) #15
Comments
Every examples stops with message that |
Hi, can you post the full source code? |
const { Client } = require('tglib')
async function main() {
const client = new Client({
apiId: 'XXXXXX',
apiHash: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
phoneNumber: 'XXXXXXXXXXX',
})
await client.connect()
await client._send({
'@type': 'sendMessage',
'chat_id': -123456789,
'input_message_content': {
'@type': 'inputMessageText',
'text': {
'@type': 'formattedText',
'text': 'Hi',
},
},
})
}
main() |
Hi, I assume this is a TDLib issue, can you try rebuild the binary? |
@khaschuluu have you solved the issue? |
@nagashik no, I'm currently using telegram-cli |
It's not a tglib issue |
When I trying to execute
examples/handleUpdates.js
, returns:I trying in Ubuntu 16.04
node v10.0.0
The text was updated successfully, but these errors were encountered: