How to search/filters mails/messages #438
Unanswered
arnaudlemaignen
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @arnaudlemaignen I created an issue to go fix the snippets generation see #442 The updated code to fix your application should look something like requestSearch := ""hello world""
requestParameters := &graphconfig.UserItemMessagesRequestBuilderGetQueryParameters{
Search: &requestSearch,
}
configuration := &graphconfig.UserItemMessagesRequestBuilderGetRequestConfiguration{
QueryParameters: requestParameters,
}
result, err := graphClient.Me().Messages().Get(context.Background(), configuration) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am trying to filter mails like in the example of graph Explorer.
My Issue is I am not able to find any references to the graphconfig import
and github.com/microsoftgraph/msgraph-sdk-go/me does not exist anymore
`requestSearch := ""hello world""
requestParameters := &graphconfig.MeMessagesRequestBuilderGetQueryParameters{
Search: &requestSearch,
}
configuration := &graphconfig.MeMessagesRequestBuilderGetRequestConfiguration{
QueryParameters: requestParameters,
}
result, err := graphClient.Me().Messages().Get(context.Background(), configuration)`
sdk version:
msgraph-sdk-go v0.56.0
I guess it is because the API has changed and doc is always the last thing to fix :(.
Can you point me to the new implementation?
thanks
Beta Was this translation helpful? Give feedback.
All reactions