getGroupsInConversation

suspend fun getGroupsInConversation(    context: Context,     conversationId: Int,     @IntRange(from = 0) from: Int? = null,     @IntRange(from = 1) pageSize: Int? = null): List<STWGroup>?

Call this method to retrieve recipient groups in the given conversation and it should be called only from a coroutine or another suspend function

Return

The groups STWGroup inside the given conversation

See also

Parameters

context

The application context

conversationId

The conversation ID

from

The offset of the first group starting from it will return group list based on pageSize. Value should be >= 0

pageSize

The max number of group record to be retrieved, 0 will return nothing. Value should be >= 1