notificationOccurred method
A method tells that a task or action has succeeded, failed, or produced a warning. The Telegram app may play the appropriate haptics based on type value passed.
Implementation
void notificationOccurred(HapticFeedbackNotificationType type) =>
Telegram.WebApp.HapticFeedback.notificationOccurred(type.name);