messagebird-nodejs icon indicating copy to clipboard operation
messagebird-nodejs copied to clipboard

Listing messages accepts conversationId instead of contactId

Open lorenzosani opened this issue 3 years ago • 0 comments

https://github.com/messagebird/messagebird-nodejs/blob/2d8b7de16c6c4c24829bc009dfa29c59a68ab189/types/index.d.ts#L240

When calling MessageBird.conversations.listMessages, the call doesn't work if a contactId is passed, but works when the conversationId is passed. I believe this behaviour is correct, but the parameter name should be changed from contactId to conversationId if this is the case

lorenzosani avatar Apr 28 '23 11:04 lorenzosani