It was introduced with 5.5, and I'm not sure if there is a limit to the amount of text. Too much text in the notification alert or buttons might look ugly, but the payload, that the user doesn't have to see, can be a lot longer.