setWebhook method

Future<bool> setWebhook()

Implementation

Future<bool> setWebhook() async => await telegram.setWebhook('$url:$port',
    ipAddress: ipAddress,
    certificate: uploadCertificate ? certificate : null,
    maxConnections: maxConnections,
    allowedUpdates: allowedUpdates,
    dropPendingUpdates: dropPendingUpdates,
    secretToken: secretToken);