You should be able to do something similar to below, I’m using Alexa instead of telegram.
[{"id":"d680dd62.92401","type":"server-state-changed","z":"b6caae64.0d8ea","name":"Has a Gate Opened or Closed","server":"378bb7a2.0cc518","version":1,"entityidfilter":"binary_sensor.*_gate","entityidfiltertype":"regex","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":181.5,"y":163,"wires":[["3e560f70.675c4"],["476f7ab5.1fcdf4"]]},{"id":"eb4ba96a.dae348","type":"api-call-service","z":"b6caae64.0d8ea","name":"Notify via Lounge and Kitchen Alexa","server":"378bb7a2.0cc518","version":1,"debugenabled":false,"service_domain":"notify","service":"alexa_media","entityId":"","data":"{\"message\":\"{{payload}}\",\"data\":{\"type\":\"announce\"},\"target\":[\"media_player.patrick_s_dot\",\"media_player.kitchen_dot\"]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1136.5,"y":245,"wires":[["b80d8e57.d0f06"]]},{"id":"476f7ab5.1fcdf4","type":"template","z":"b6caae64.0d8ea","name":"Get the closed gate name","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{data.new_state.attributes.friendly_name}} has closed.","output":"str","x":503,"y":204,"wires":[["ae83e126.75ff1"]]},{"id":"3e560f70.675c4","type":"template","z":"b6caae64.0d8ea","name":"Get the opened gate name","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{data.new_state.attributes.friendly_name}} has opened.","output":"str","x":508.5,"y":90,"wires":[["ae83e126.75ff1"]]},{"id":"ae83e126.75ff1","type":"api-current-state","z":"b6caae64.0d8ea","name":"Don't Announce Gate Status","server":"378bb7a2.0cc518","version":1,"outputs":2,"halt_if":"false","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.gate_announcements","state_type":"habool","state_location":"","override_payload":"none","entity_location":"","override_data":"none","blockInputOverrides":false,"x":831.5,"y":179,"wires":[[],["fdae6ec2.2217"]]},{"id":"fdae6ec2.2217","type":"delay","z":"b6caae64.0d8ea","name":"Delay 2 Seconds","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1089.5,"y":141,"wires":[["eb4ba96a.dae348"]]},{"id":"378bb7a2.0cc518","type":"server","z":"","name":"Home Assistant","legacy":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]