Int32 for user id type? #17

Closed
opened 2021-10-15 15:02:36 +00:00 by chiliec · 1 comment
chiliec commented 2021-10-15 15:02:36 +00:00 (Migrated from github.com)

I looked out inside mongo database and find that User.id has Int32 type:

Screenshot 2021-10-15 at 19 57 30

But it's already not enough.

I looked out inside mongo database and find that [User.id](https://github.com/Borodutch/telegraf-template/blob/main/src/models/User.ts#L5) has Int32 type: <img width="729" alt="Screenshot 2021-10-15 at 19 57 30" src="https://user-images.githubusercontent.com/982358/137508506-5c35c2e4-5195-4e62-96a6-03692a2350bd.png"> But it's already [not enough](https://core.telegram.org/bots/api#june-25-2021).
backmeupplz commented 2021-10-15 19:14:47 +00:00 (Migrated from github.com)

It's going to automatically change to Int64, in js it's just Number. So all good.

It's going to automatically change to `Int64`, in js it's just `Number`. So all good.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Borodutch/telegram-bot-starter#17
No description provided.