GSM Shield

Hello Guys! I am using Arduino uno wifi rev2 board and Arduino GSM shield 2. I am using the GSM library to send message the sketch is successfully compiling for Arduino UNO but for my wifi board it's giving this error. I'll appreciate your help in this regard.

Please provide your code in a code block and ensure that you have followed the instructions at