Comments (3)
i'll reply to myself
SOLUTION :
telegram_bot=# ALTER TABLE users ALTER COLUMN user_id TYPE bigint;
ALTER TABLE
The int is not enough. integer 4 bytes -2147483648 to +2147483647
My telegram id is over 5 000 000 000 which is largely superior than the the integer limit ( 214748364)
from tgbot.
Hi, thanks for raising this issue.
The repo is no longer maintained. 64bit userids are just one of the many things which are likely to be broken in this bot.
I do not recommend using it :)
from tgbot.
thanks, closing the issue as it is solved.
from tgbot.
Related Issues (20)
- SQL Error
- Rose Belarusian HOT 4
- Database error for user IDs with 10 digits HOT 2
- user_id integer out of range HOT 2
- fban -> unban - Rose still kicks the user HOT 5
- Notes and filters don't support {} personalisation tags HOT 3
- Tgbot HOT 1
- Getting this error HOT 3
- Ban my number or my area code?! HOT 2
- Tgbot HOT 1
- tg_bot HOT 3
- PSQL HOT 1
- sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:sqldbtype Error HOT 1
- 可以在欢迎语里添加图片吗? HOT 1
- How to go to deploy background HOT 1
- complaint mode HOT 1
- Tr HOT 1
- TypeError: Can't instantiate abstract class _Supporters with abstract methods __call__ HOT 2
- I am getting error. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgbot.