TelegramBots / Telegram.Bot.Extensions.Polling

Provides ITelegramBotClient extensions for polling updates
MIT License
46 stars 12 forks source link

Update Streams are not supported in QueuedUpdateReceiver #9

Closed jasursadikov closed 3 years ago

jasursadikov commented 3 years ago
CS8411
Asynchronous foreach statement cannot operate on variables of type 'QueuedUpdateReceiver'
because 'QueuedUpdateReceiver' does not contain a suitable public instance or extension definition 
for 'GetAsyncEnumerator'

I get this error when I try to use update streams as shown in an example in README.md

My project runs .NET 5, package version is latest atm (0.2.0)

tuscen commented 3 years ago

The readme is for a newer version that is not released yet.

jasursadikov commented 3 years ago

@tuscen why this is not mentioned? Telegram.Bot package documented really bad

tuscen commented 3 years ago

We dont't have enough people and time to write good documentation.

I've released the first alpha of the polling package. It should work as in the readme now.