Functionsยง
- calculate_
message_ id - Relies on a client-created idempotency_key (which could be a timestamp)
- calculate_
message_ id_ for_ intent - Calculate the message id for this intent.
- decode_
message_ reference - Decodes a message id that a reply, reaction, or deletion references.
Anything other than 64 hex characters, in either case, is not an id.
hex::decodestrips a0xprefix, so the decoded length is checked too.