Minecraft wiki entry for msg, associated text: Specifies the player(s) to send the message to.
Must be a player name, a target selector or a UUID‌[Java Edition only]. And the target selector must be of player type.