messagebird / csharp-rest-api

This repository contains the open source C# client for MessageBird's REST API.
ISC License
54 stars 60 forks source link

Conversation messages with status == 'rejected' cause error during ListConversationMessages call #109

Open yubinchen18 opened 2 years ago

yubinchen18 commented 2 years ago

During a call with the client to:

messageBirdClient.ListConversationMessages(conversationId);

got error

Error converting value "rejected" to type 'MessageBird.Objects.Conversations.ConversationMessageStatus'. Path 'items[1].status', line 1, position 1187.

Because response contains a message with status = 'rejected', as 'rejected' is missing in public enum ConversationMessageStatus.

Please fix asap!

image