Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling WebHook #53

Closed
ivanbaldo opened this issue Nov 23, 2015 · 5 comments
Closed

Disabling WebHook #53

ivanbaldo opened this issue Nov 23, 2015 · 5 comments

Comments

@ivanbaldo
Copy link

It is valid to set URL to an empty string to disable a webhook.
Either not throw exception when URL is empty in setWebHook() or create a disableWebHook() method.
Thanks!!!

@MBoretto
Copy link
Collaborator

Thanks for reporting it will be fixed
On 24 Nov 2015 00:29, "Iván Baldo" notifications@github.com wrote:

It is valid to set URL to an empty string to disable a webhook.
Either not throw exception when URL is empty in setWebHook() or create a
disableWebHook() method.
Thanks!!!


Reply to this email directly or view it on GitHub
#53.

@MBoretto
Copy link
Collaborator

MBoretto commented Dec 9, 2015

Fixed in 0.23

@MBoretto MBoretto closed this as completed Dec 9, 2015
@deadmann
Copy link

deadmann commented Jun 21, 2016

if fixed why there's nothing about it on the doc? how it works?

@noplanman
Copy link
Member

It is in the readme, right here 👍
Check the appropriate file to see the usage.

Basically $telegram->unsetWebHook();

@deadmann
Copy link

well i meant the telegram documents :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants