Many modern IP cameras (Reolink, Hikvision, Dahua, TP-Link) have a "Notification" or "Alarm" tab that supports sending HTTP requests.
from telegram import Bot import cv2
Never leave your camera on the manufacturer's default username and password. ipcam telegram channel upd