package Ġcom . iph ay ao . k itch ens ink Ċ Ċ import Ġcom . line corp . bot . model . event . Message Event Ċ import Ġcom . line corp . bot . model . event . message . Text Message Content Ċ import Ġcom . line corp . bot . model . message . Message Ċ import Ġcom . line corp . bot . model . message . Text Message Ċ import Ġcom . line corp . bot . spring . boot . annotation . Event Mapping Ċ import Ġcom . line corp . bot . spring . boot . annotation . Line MessageHandler Ċ Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . boot . run Application Ċ Ċ @ SpringBoot Application Ċ @ Line MessageHandler Ċ class ĠLine Bot Application Ġ{ ĊĠĠĠ Ġ@ Event Mapping ĊĠĠĠ Ġfun Ġhandle Text Message Event ( event : ĠMessage Event < Text Message Content >): ĠMessage Ġ{ ĊĠĠĠĠĠĠĠ Ġprintln (" event : Ġ$ event ") ĊĠĠĠĠĠĠĠ Ġval Ġoriginal Message Text Ġ= Ġevent . message . text ĊĠĠĠĠĠĠĠ Ġreturn ĠText Message ( original Message Text ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ Ġrun Application < Line Bot Application >(* args ) Ċ } Ċ