TelegramBots / Telegram.Bot

.NET Client for Telegram Bot API
https://telegrambots.github.io/book
MIT License
3.22k stars 690 forks source link

New chat participant update is not correctly parsed #1408

Closed nimbusparis closed 3 months ago

nimbusparis commented 3 months ago

I found a bug to report

Please use the following template to ensure maintainers can reproduce the bug and solve it quickly.

Bug reports that do not follow this template will be kept closed because not-reproducible until the creator edits the post properly.

Steps to reproduce

Expected behavior

Update.Message.NewChatMembers is filled with data from the Telegram request

Actual behavior

Update.Message.NewChatMembers is null

Screenshots

image

Environment data

NuGet Package Version: 21.9.0

.NET Version: 8.0.7

IDE: VS2022

App: ASP.NET WebAPI

wiz0u commented 3 months ago

works for me. (tested with your exact request) make sure you've configured webhook JSON settings according to https://telegrambots.github.io/book/3/updates/webhook.html

nimbusparis commented 3 months ago

Ok, my bad if work well, but on the migration page https://telegrambots.github.io/book/migrate/Version-21.x.html, the link for webhook migration is broken https://telegrambots.github.io/book/migrate/3/updates/webhook.html instead of https://telegrambots.github.io/book/3/updates/webhook.html Please fix

wiz0u commented 3 months ago

oh, thanks !

wiz0u commented 3 months ago

fixed