Closed StevenMichael3213 closed 2 years ago
You look at documentation from the latest TDLib version, but use much older tdweb
1.7.2. You need TDLib 1.7.2 documentation, which you can obtain from git history.
Thank you very much for your answer. I read the previous api document, and it turns out that the id_raise_hand field was added after 1.7.2.
It seems that I need to recompile the tdweb library.
Thanks again.
Yes. If you want the latest tdweb, you need to rebuild it from the source code.
The td_api.tl document shows that there are many parameters of groupCallParticipant, including
participant_id
,is_hand_raised
, etc., but when I tested Telegram React, I found that the parameters in the groupCallParticipant object obtained were few, as shown in the screenshot(Logs printed out by the web console). There is noparticipant_id
andis_hand_raised
, butuser_id
is included. I don't know if it is the cause of tdlib or Telegram React. When I was running Telegram React, I followed the author's suggestion. First executenpm ci
, then executecp node_modules/tdweb/dist/* public/
, so my tdweb code should be the latest. Do you know the reason?