getRegularAdminsOfConversation

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

Call this method to retrieve list of regular administrator in group conversation and it should be called only from a coroutine or another suspend function

The given conversation should :

  • be a group group conversation (ConversationTypes.GROUP).

  • exist and active.

  • not related to a MyBusiness process.

  • not an emergency conversation.

Return

the list of regular administrators STWContact if it exists otherwise null

See also

Parameters

context

The application context

conversationId

Conversation ID.

from

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

pageSize

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