Skip to content

add secret_token #1333

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

Merged
merged 1 commit into from
Jul 2, 2022
Merged

add secret_token #1333

merged 1 commit into from
Jul 2, 2022

Conversation

jyxjjj
Copy link
Contributor

@jyxjjj jyxjjj commented Jun 26, 2022

https://core.telegram.org/bots/api#setwebhook

A secret token to be sent in a header “X-Telegram-Bot-Api-Secret-Token” in every webhook request, 1-256 characters. Only characters A-Z, a-z, 0-9, _ and - are allowed. The header is useful to ensure that the request comes from a webhook set by you.
? !
Type improvement
BC Break no
Fixed issues

Summary

https://core.telegram.org/bots/api#setwebhook
```
A secret token to be sent in a header “X-Telegram-Bot-Api-Secret-Token” in every webhook request, 1-256 characters. Only characters A-Z, a-z, 0-9, _ and - are allowed. The header is useful to ensure that the request comes from a webhook set by you.
```
@TiiFuchs
Copy link
Member

What do you mean by affected?

@noplanman noplanman merged commit e191b58 into php-telegram-bot:develop Jul 2, 2022
@noplanman
Copy link
Member

Thanks @jyxjjj 😃

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

Successfully merging this pull request may close these issues.

3 participants