Closed faucct closed 4 months ago
This will not be merged, because as I said "It is highly unlikely that they will be able to use random_id correctly". For example, the patch has an extremely important mistake in the type of "random_id", which must be int64
instead of int32
. int32
is absolutely not enough for random_id
to be unique. After this is fixed, the code is likely to work as intended for bots. If you are still sure that you understand all consequences of providing random_id
externally, you can use the fixed patch for the local Bot API server to achieve uniqueness guaranties.
Following-up https://github.com/tdlib/telegram-bot-api/issues/482#issuecomment-2165067053 If I've understood correctly, I will have to use the parameter in that repository like this and add some docs for it.