answerCallbackQuery method

Future<bool> answerCallbackQuery(
  1. String callbackQueryId, {
  2. String? text,
  3. bool? showAlert,
  4. String? url,
  5. int? cacheTime,
})
inherited

Implementation

Future<bool> answerCallbackQuery(
  String callbackQueryId, {
  String? text,
  bool? showAlert,
  String? url,
  int? cacheTime,
}) {
  return _client.apiCall(_token, 'answerCallbackQuery', {
    'callback_query_id': callbackQueryId,
    'text': text,
    'show_alert': showAlert,
    'url': url,
    'cache_time': cacheTime
  });
}