Closed hayatoy98 closed 1 month ago
Thanks for raising this @hayatoy98
According to the reference below, the code expects the property to be a string. https://github.com/microsoftgraph/msgraph-sdk-go/blob/52a03137ac9d8f44a05888d337876f956e021a06/models/chat_message.go#L977
Out of curiosity, are you able to share the sample response and stack trace as well to help understand the issue better?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Describe the bug
I am trying to get the value in
webUrl
field by using the receiver methodGetWebUrl
. It seems that panic occurred whenm.GetBackingStore().Get("webUrl")
does insideGetWebUrl
. Even though I checked the response from graph api http endpoint by Postman and it certainly has the value inwebUrl
field.Expected behavior
This is the expectation that we can get the value of
webUrl
field when we useGetWebUrl
method.How to reproduce
Here is the step
models.ChatMessageable
using thisChats().ByChatId(sample-channel-id).Messages().ByChatMessageId(sample-message-id).Get(ctx, nil)
method.models.ChatMessageable.GetWebUrl()
methodSDK Version
v1.47.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```Configuration
No response
Other information
No response