Telegram response not working

Recently upgraded and now my telegram responses aren’t working

  - id: someone
    alias: 'someone'
    trigger:
      entity_id: group.pir_sensors
      platform: state
      to: 'on'
    condition:
      - condition: state
        entity_id: group.parents
        state: 'not_home'
      - condition: template
        value_template: "{{ is_state('alarm_control_panel.house', 'disarmed') }}"
      - condition: state
        entity_id: input_boolean.babysitter
        state: 'off'
      - condition: state
        entity_id: input_boolean.babysitting
        state: 'off'
      - condition: state
        entity_id: input_boolean.cleaner
        state : 'off'
    action:
      - service: telegram_bot.send_message
        data_template:
          title: 'Someone Home'
          target: "{{ trigger.event.data.user_id }}"
          message: 'Someone is at home but the parents are both out. Should I tell the house this is OK?'
          inline_keyboard:
            - "Yes:/yesbabysitter"
            - "No need!:/removekeyboard"

.

  - id: 'yesbabysitter'
    alias: ' yes there is a babysitter'
    trigger:
      platform: event
      event_type: telegram_callback
      event_data:
        data: '/yesbabysitter'
    action:
    - service: telegram_bot.answer_callback_query
      data_template:
        callback_query_id: '{{ trigger.event.data.id }}'
        message: 'OK, setting the flag for a babysitter'
    - service: telegram_bot.edit_replymarkup
      data_template:
        message_id: '{{ trigger.event.data.message.message_id }}'
        chat_id: '{{ trigger.event.data.user_id }}'
        inline_keyboard: []
    - service: input_boolean.turn_on
      data:
        entity_id: input_boolean.babysitting
    - service: script.turn_on
      entity_id: script.alarm_disarm

And I get Error executing script. Invalid data for call_service at pos [#]: expected int for dictionary value @ data['chat_id']

Any ideas what I need to do? I’ve had a look but can’t find anyone complaining about the same thing which is unusual after an upgrade. I jumped quite a few releases and this is the only thing (apart from some unrelated zigbee woes) that still needs sorting

Thank you!!!