Serial interrupt with STM32

hi.
i am beginning to program stm32 in arduino and i kinda have a problem using its serial 1.

I want to use a stm32 and communicate with an other arduino using at command.
now i wanted to know if i can do any serial interrupt on getting special inputs.

for example when i send at+join in return with the response of at+recv=2,0 and when i send at+send it responses with at+recv=10,2
i want to use serial interrupt on these for further functions.

i would like to know if this is possible or not.

i know i can do it in keil in c but i wanted to do this in arduino.

i would pleased if anyone answer this!
thanks in advance.

Mostly if you can or cannot do, will be up to you but here is a good starting point Serial - Arduino Reference