Envoyer par SMS: A State-Integrated Approach for Generalized Functional Modeling