create method

GroupCall create()

Implementation

GroupCall create() {
  voip.groupCalls[groupCallId] = this;
  voip.groupCalls[room.id] = this;

  client.setRoomStateWithKey(
    room.id,
    EventTypes.GroupCallPrefix,
    groupCallId,
    {
      'm.intent': intent,
      'm.type': type,
    },
  );

  return this;
}