SendWebAppData constructor

const SendWebAppData({
  1. required int botUserId,
  2. required String buttonText,
  3. required String data,
})

Sends data received from a keyboardButtonTypeWebApp Web App to a bot

Implementation

const SendWebAppData({
  required this.botUserId,
  required this.buttonText,
  required this.data,
});