Closed stockvn closed 1 year ago
Telegram suddenly removed Messages_GetAllChats method 🤦🏻♂️ even though the method is listed in the official layer schema 🤷🏻♂️
I just released WTelegramClient 3.4.2 to fix the issue by bringing back method Messages_GetAllChats
as a helper based on GetAllDialogs
So upgrade your version of the library on nuget and that should fix your problem
Fixed in nuget version 3.4.2 with commit 7c7a2a062594fc2c846c86a4dafdb4ae76d8c5c6
(I'll keep this issue open for a while for better visibility)
Hi Still Have same issue after updating it to nuget WTelegram ver to 3.4.2 on calling Messages_GetAllChats:
▶ | $exception | {"INPUT_METHOD_INVALID_2271179966_X"} | TL.RpcException
Hi Still Have same issue after updating it to nuget WTelegram ver to 3.4.2 on calling Messages_GetAllChats:
Remove the null
argument. The new Messages_GetAllChats
helper in v3.4.2 should be called without arguments
(otherwise you're still calling the API method that Telegram forcibly invalidated while leaving it in current API layer)
var chats = await _client.Messages_GetAllChats(null);
try to
var chats = await _client.Messages_GetAllChats();
when I run code : var chats = await _client.Messages_GetAllChats(null); error message occured