impactOccurred method

void impactOccurred(
  1. HapticFeedbackImpact impact
)

A method tells that an impact occurred. The Telegram app may play the appropriate haptics based on style value passed

Implementation

void impactOccurred(HapticFeedbackImpact impact) => Telegram.WebApp.HapticFeedback.impactOccurred(impact.name);