getMessagesWithAttachments

fun getMessagesWithAttachments(offset: Int, limit: Int, types: List<String>): Call<List<Message>>

Returns a Call with messages that contain at least one desired type attachment but not necessarily all of them will have a specified type.

Parameters

offset

The messages offset.

limit

Max limit messages to be fetched.

types

Desired attachment's types list.