package com.github.xabgesagtx.bots;

import org.telegram.telegrambots.bots.TelegramWebhookBot;
import org.telegram.telegrambots.meta.api.methods.updates.SetWebhook;

/**
 * This class is a blueprint to generate a Webhook Bot.
 */
public abstract class TelegramWebhookBotService extends TelegramWebhookBot {
	/**
	 * Override this to configure the webhook for a single service here.
	 * A set of configurations like "certificate" and "external Url" will be preconfigured
	 *
	 * @param webhook never null
	 * @return the modified webhook
	 */
	public SetWebhook.SetWebhookBuilder customizeWebHook(SetWebhook.SetWebhookBuilder webhook) {
		return webhook;
	}

}

@@ -157,16 +157,73 @@
 Webhook;
+%0Aimport org.telegram.telegrambots.bots.DefaultBotOptions;
 %0A%0A/**%0A *
@@ -357,16 +357,177 @@
 okBot %7B%0A
+%0A%09public TelegramWebhookBotService() %7B%0A%09this(new DefaultBotOptions());%0A  %7D%0A%0A%09public TelegramWebhookBotService(DefaultBotOptions options) %7B%0A%09super(options);%0A  %7D%0A%0A
 %09/**%0A%09 *

add constructors with and without arguments