Closed NimaZare closed 4 years ago
Hello When I use this code, it returns an null value: TLDialogs dialogs = MyBot.GetUserDialogsAsync().Result as TLDialogs; It works well with my mobile number, but it returns an null value with my friend's number! please help me. thanks
TLDialogs dialogs = MyBot.GetUserDialogsAsync().Result as TLDialogs;
You seem to not understand what the as keyword does in C#. Please learn about it first. Then reopen this issue if you keep having problems.
as
Hello When I use this code, it returns an null value:
TLDialogs dialogs = MyBot.GetUserDialogsAsync().Result as TLDialogs;
It works well with my mobile number, but it returns an null value with my friend's number! please help me. thanks