How to call method correctly: Messages_SearchGlobal in WTelegram

Viewed 41

I use this in my WPF project but always return 0. var messages = await _client.Messages_SearchGlobal(Search.Text, filter, DateTime.Now.AddDays(-2), DateTime.Now);

1 Answers

I tried this, and it worked; I obtained many messages:

var res = await client.Messages_SearchGlobal("test", null, DateTime.Now.AddDays(-2), DateTime.Now);

Your filter value must be wrong.

Related