Fix issue where Chat IDs were incorrect because they were larger than an int32.