Alright, I guess I didn't check enough beforehand:
https://discord.com/developers/docs/reference#snowflakes
This article clearly explains that IDs are implemented as Snowflakes and are unsigned long integers.