code: func (bot *BotAPI) GetWebhookInfo() (WebhookInfo, error) {
  	resp, err := bot.MakeRequest("getWebhookInfo", url.Values{})
  	if err != nil {
  		return WebhookInfo{}, err
  	}
  
  	var info WebhookInfo
  	err = json.Unmarshal(resp.Result, &info)
  
  	return info, err
  }
docs: // GetWebhookInfo allows you to fetch information about a webhook and if
  // one currently is set, along with pending update count and error messages.