getMessagesWithAttachments

fun getMessagesWithAttachments(channelType: String, channelId: String, 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

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.

offset

The messages offset.

limit

Max limit messages to be fetched.

types

Desired attachment's types list.