pub const NOTIFY_MAX_LENGTH: u32 = 500;
Expand description

Maximum length (in UTF-16 units) of message content sent to game::notify.

Note that the official documentation reflects a limit of 1000, but a limit of 500 is enforced in the driver (truncating to that length if a longer string is input).

Code reference