2020-10-15 18:42:54 +02:00
|
|
|
---
|
|
|
|
title: danog\MadelineProto\Wrappers\Webhook: Manages logging in and out.
|
|
|
|
description:
|
|
|
|
|
|
|
|
---
|
|
|
|
# `danog\MadelineProto\Wrappers\Webhook`
|
|
|
|
[Back to index](../../../index.md)
|
|
|
|
|
|
|
|
> Author: Daniil Gentili <daniil@daniil.it>
|
|
|
|
|
|
|
|
|
|
|
|
Manages logging in and out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Method list:
|
|
|
|
* `setWebhook(string $hook_url, string $pem_path): void`
|
|
|
|
|
|
|
|
## Methods:
|
|
|
|
### `setWebhook(string $hook_url, string $pem_path): void`
|
|
|
|
|
|
|
|
Set webhook update handler.
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
* `$hook_url`: `string` Webhook URL
|
|
|
|
* `$pem_path`: `string` PEM path for self-signed certificate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Properties
|
2020-10-15 19:11:10 +02:00
|
|
|
* `$settings`: `\Settings`
|
|
|
|
---
|
|
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|