Class SetWebhook

  • All Implemented Interfaces:
    Validable

    public class SetWebhook
    extends BotApiMethod<Boolean>
    Version:
    1.0 Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts. 20 of June of 2015
    Author:
    Ruben Bermudez