tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.07k stars 1.44k forks source link

How to connect 'updateGroupCall' with exact chat? #2790

Closed 0xc0de1e55 closed 8 months ago

0xc0de1e55 commented 8 months ago

When 'updateGroupCall' message appears there is no any info from which chat it comes from. There is field 'chat_id' described in td scema, but there is no such field in tdlib. Am I doing something wrong, or this is a bug?

0xc0de1e55 commented 8 months ago

Ah, now I see, this can be obtained from chat object via videoChat property, which is a bit unclear. Maybe you need improve docs on this part.