getWebhookInfo method
Gets current webhook status. Returns current webhook status.
Implementation
Future<WebhookInfo> getWebhookInfo() async {
final response = await _makeRequest<Map<String, dynamic>>(
APIMethod.getWebhookInfo.name,
);
return WebhookInfo.fromJson(response);
}