PlayerController::ClientMessage usually does this, and you can see how it passes through to ClientTeamMessage, and then (in the context of the local player controller) calls this:
CastChecked<ULocalPlayer>(Player)->ViewportClient->ViewportConsole->OutputText( SMod );
So ya, get a reference to the player controller, and call ClientMessage(TEXT(“Console message”));