sdcdsvsdv423

Results 51 comments of sdcdsvsdv423

@deostroll , As @Sasha2018RL noticed `phoneNumber` callback function must return eather a scalar value (string or number) or promise with phone number value. In your example the callback function returns...

You can find docs here: https://airgram.netlify.app

Sorry, I do not understand what is the problem. In the last release Airgram switched to the [new TDLib Json interface](https://github.com/tdlib/td/blob/966621376b87fda5b9eb29dd2f4da7732bf1c654/td/telegram/td_json_client.h#L97-L158). Names td_create and td_receive are correct. But you need...

You need to set exact version: `"airgram": "3.1.1"` to prevent updates.

Sorry for the inconvenience. It would be better to increase the major version of the library when changing the TDLib JSON interface. But now It's too late. I will add...

Hello, I believe current behavior is correct. You can use chaining operator to avoid the error. Like: ```ts const text = update.message.content?.text ```

The `text` property is not optional. Some content types (like `messageText`) always contain this property, while others never do. Different message types represent by different set of properties and almost...

I've tested with Typescript `3.7.5` and `3.9.7`. Can you create a small repository to reproduce this error?

Can you provide piece of code how you import Airgram?

Sorry for the late reply. What is your environment -- Node.js or browser? If you want to use Airgram in browser, you need `@airgram/web` package.