Invite multiple user in room at the same time

Is there any way to invite all members of room at the same time when creating room?

Right now I am inviting user in loop, which I dont want to

for (String contact : contacts) {
                    chatRoom.invite(JidCreate.entityBareFrom(contact), reason);
}

Smack version: 4.4.2

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.