Graph .NET > Tutorial > Find messages by received time

The following example shows you how to use the Query parameter to search for messages. Here we specify condition (Filter) to retreive messages received in the last hour and also with Select we specified which properties we want to retreive for every message.

C# example