Skip to content

Unable to list messages via SDK #38

@jiri-muller

Description

@jiri-muller

I am using SDK to list send messages but I am not able to get the the actual messages from MessageListPage.entries().

I am invoking the SDK like this:

val paramsBuilder = MessageListParams.builder()
            .tenant(tenant.tenantId)
            .pageSize(limit.toLong())

        val response = client.sync().messages().list(paramsBuilder.build())

but the entries() always return empty list.

Checking the content of the response I can see messages are there but in items:

Image

Is the issue in the SDK or I am using it wrong?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions