Telegram bot example with response_variable from docs doesn't work

This script doesn’t work, it returns the error:

telegram send message and delete: Error executing script. Invalid data for call_service at pos 1: Script does not support 'response_variable' for service 'response_variable' which does not support response data.

Home Assistant Core 2025.1.4

Can anyone please check it too?