csharp-rest-api icon indicating copy to clipboard operation
csharp-rest-api copied to clipboard

ChannelStatus unavailable or not_verified

Open leopellizzoni opened this issue 4 years ago • 2 comments

The enum ChannelStatus in MessageBird.Objects.Conversations do not have the options unavailable or not_verified which generate the following errors parsin the JSON:

  • MessageBird.Exceptions.ErrorException: Received response in an unexpected format! ---> Newtonsoft.Json.JsonSerializationException: Error converting value "unavailable" to type 'MessageBird.Objects.Conversations.ChannelStatus'

  • MessageBird.Exceptions.ErrorException: Received response in an unexpected format! ---> Newtonsoft.Json.JsonSerializationException: Error converting value "not_verified" to type 'MessageBird.Objects.Conversations.ChannelStatus'.

leopellizzoni avatar Jul 19 '21 20:07 leopellizzoni

I submitted a pull request to add these two options to the enum, I am also having trouble with not_verified. Some fuctions of my app are not working because of it. Did you find a workaround for this problem?

LeanZo avatar Aug 24 '21 15:08 LeanZo

Thanks for the enum pull request. I did have some problems with that, which functions don’t work?

leopellizzoni avatar Aug 28 '21 11:08 leopellizzoni